Traefik monitoring with Netdata

What is Traefik?

Traefik is an open-source reverse proxy and load balancer designed for modern cloud-native applications. It simplifies deploying and managing applications by providing an easy-to-use web interface and automatic service discovery, and enables dynamic configuration using modern orchestration systems such as Kubernetes.

Monitoring Traefik with Netdata

The prerequisites for monitoring Traefik with Netdata are to have Traefik and Netdata installed on your system.

Netdata auto discovers hundreds of services, and for those it doesn’t turning on manual discovery is a one line configuration. For more information on configuring Netdata for Traefik monitoring please read the collector documentation.

You should now see the Traefik section on the Overview tab in Netdata Cloud already populated with charts about all the metrics you care about.

Netdata has a public demo space (no login required) where you can explore different monitoring use-cases and get a feel for Netdata.

What Traefik metrics are important to monitor - and why?

Entrypoint Requests

Entrypoint Requests is a metric that measures the number of requests for an Entrypoint (the start of a request-response cycle) over a set period of time. It can be broken down into the number of requests for each type of response (1xx, 2xx, 3xx, 4xx, 5xx). Monitoring this metric can be used to identify performance issues related to the entrypoint, such as high latency or timeouts. It can also be used to detect when a service is being overloaded, which can be caused by too many requests coming in or by a single request that is taking too long to respond.

Entrypoint Request Duration Average

Entrypoint Request Duration Average is a metric that measures the average time it takes for an Entrypoint to complete a request-response cycle. It can be broken down into the average time for each type of response (1xx, 2xx, 3xx, 4xx, 5xx). Monitoring this metric can help identify when a service is taking too long to respond, which could be caused by an issue with the service itself or by issues with the network. It can also be used to detect when a service is being overloaded, as requests may take longer to complete.

Entrypoint Open Connections

Entrypoint Open Connections is a metric that measures the number of open connections for an Entrypoint. Monitoring this metric can help identify when a service is being overloaded, as too many open connections can cause issues with performance and response times. It can also be used to detect when a service is being denied access, as requests may not be able to establish a connection.

The observability platform companies need to succeed

Sign up for free

Want a personalised demo of Netdata for your use case?

Book a Demo