Is there a way get Traefik latency metric?

Hi,

Wanted to get the traefik induced latency for each request. Is there any metric exposed for the same ?

Could not find anything here Traefik Metrics Overview - Traefik

Thanks

2 Likes

Some Grafana Dashboards are displaying an average responsetime by issuing the following promql: sum(traefik_service_request_duration_seconds_sum) by (service) / sum(traefik_service_request_duration_seconds_count) by (service).

Imo this is at best an approximation for latancy - there are many downsides to this method.

I would love to have a real latency metric in treafik!