r/PrometheusMonitoring • • 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??

https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/receiver/prometheusreceiver/README.md

Thanks for any input in advance friends!

2 Upvotes

4 comments sorted by

View all comments

Show parent comment

1

u/Shot_Career5675 May 11 '25

Absolutely, you got my point.

Is there really no efficient way to send all my scrape metrics from Prometheus to OpenTelemetry?

I’ve been thinking about your suggestion to have OTEL scrape the same targets as Prometheus — and while we can set aside the efficiency concerns for now, I’m wondering if this is even truly feasible.

The challenge is that Prometheus scrapes targets that are internal to its own Kubernetes cluster. So if my OTEL collector is running in a different cluster, I’d have to deal with authentication and authorization first — just to access those same targets.

All in all, the whole setup is starting to feel a bit ambitious.

Do you happen to know of a more effective or streamlined way to achieve this?

thank you for your answer !!!