This page describes how you can utilize Prometheus for Traefik Hub metrics collected by OpenTelemetry.
Prometheus is an open-source application used for event monitoring and alerting.
Please make sure that your Prometheus instance is configured with the Contrib Collector.
This collector is needed for OpenTelemetry.
Native support for OpenTelemetry metrics in Prometheus
v2.47.0-rc.0 on, the Prometheus community added native support for OpenTelemetry.
Native OpenTelemetry support is marked as experimental and may lack some features.
Make sure to enable the OTLP receiver feature flag.
Once OpenTelemetry is enabled in the Traefik Hub agent, connect to the UI of your Prometheus instance and search for Traefik Hub metrics.
- Learn how to use Grafana for querying Prometheus.