-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to setup prometheus exporter in open-telemetry collector? #37459
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
endpoint of prometheus exporter is the address on which metrics will be exposed. |
I'm a lil bit confused here. I'm using open-telemetry collector helm and Kube-prometheus-stack helm. What I wanna do this get all the metrics from cluster, nodes and pods and view them on grafana so for that should I use prometheus exporter or prometheusremotewrite exporter? How to configure the exporter? If anybody can show any example that will be helpful |
So this should be the address of open-telemetry collector? |
Kube-Prometheus-stack should, alone, be able to collect metrics from your cluster. You don't need the collector at all. If you want to use a collector anyway, you have two models available: pull or push models.
If you use
Then in your prometheus you'll need to configure scrape configuration to scrape your collector on port 8080 If you use
|
Component(s)
exporter/prometheus
Describe the issue you're reporting
I'm trying to setup prometheus exporter in open-telemetry collector and want to send metrics from open-telemetry collector to prometheus so that it can be viewed on Grafana. I'm doing all that with flux but I'm failing to configure prometheus exporter.
My open-telemetry collector configutaion is:
I get this error:
Any idea what I can do.
The text was updated successfully, but these errors were encountered: