Skip to main content

Prometheus

This page describes how you can utilize Prometheus for Traefik Hub metrics collected by OpenTelemetry.


Introduction

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

From version 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.


Prometheus Dashboard

Once OpenTelemetry is enabled in the Traefik Hub agent, connect to the dashboard of your Prometheus instance and search for Traefik Hub metrics.

Traefik Hub metrics in Prometheus