open-telemetry/opentelemetry-collector

Collector componenents utilize prometheus metrics

Open

#7.960 geöffnet am 23. Juni 2023

Auf GitHub ansehen
 (3 Kommentare) (3 Reaktionen) (0 zugewiesene Personen)Go (2.146 Forks)auto 404
area:documentationcollector-telemetryhelp wantedpriority:p2

Repository-Metriken

Stars
 (7.237 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Is your feature request related to a problem? Please describe. There should be a way for a collector's componeents to interact with the prometheus endpoint of the collector. There does not seem like a straightforward way, or at least not documented of how to add metrics from say an exporter to the collector prometheus endpoint.

Describe the solution you'd like A way to add metrics derived from components such as receiver, processor, exporter etc to the default prometheus endpont of a collector.

Describe alternatives you've considered Perhaps another prometheus endpoint has to be stood up that represents component metrics?

Additional context My overall experience with bulding components for a custom collector has been less than optimal. There is lacking documentation of helper packages, where a logger is derived from (the CreateSettings). Perhaps the issue is the documentation is just scattered everywhere.

Contributor Guide