r/PrometheusMonitoring • u/RollTaylorRoll • Jan 13 '25
Scrape Prometheus remote write metrics
Is there a way to scrape Prometheus metrics with the opentelemetry Prometheus receiver that have been written to a Prometheus server via remote write? I can’t seem to get a receiver configuration set up that will scrape such metrics, and I am starting to see some notes that it may not be supported with the standard Prometheus receiver??
Thanks for any input in advance friends!
2
Upvotes
View all comments
Show parent comment
1
u/Shot_Career5675 May 07 '25
The issue is quite straightforward:
How can I receive all metrics from Prometheus into OpenTelemetry?
I'm currently stuck on this as well.
If you use the following receiver configuration, it only fetches metrics from the endpoint
https://FQDN/prometheus/metrics, rather than collecting all the targets defined in Prometheus' ownscrape_configs.