open-telemetry / opentelemetry-collector

OpenTelemetry Collector
https://opentelemetry.io
Apache License 2.0
4.36k stars 1.44k forks source link

A OTLP Receiver with pull model #9816

Open scratchmex opened 7 months ago

scratchmex commented 7 months ago

Is your feature request related to a problem? Please describe.

I cannot use the pull model with the OTL Metrics Format. Neither the service discovery that is available in Prometheus Receiver

If I want to use Open Telemetry Metric Format in all my applications instead of prometheus. For that I would like to have service discovery and the pull model that is very useful for a dynamic scraping environment. I don't want to use any prometheus component, their sdk nor their collector service.

Describe the solution you'd like

Have a OTLP Receiver with pull model and service discovery. Basically a "Prometheus Receiver" that supports OLTP Metric Format, the same way OTLP Receiver has.

Describe alternatives you've considered

Use Prometheus collector, metric format and Prometheus Receiver to have them pushed at the end to OTL Collector

Additional context

I would be willing to help with code if you guide me

atoulme commented 4 months ago

Please consider joining a SIG meeting to discuss this in more depth, the Otel Arrow work might also be a better place to investigate this approach.