Traefik monitoring · metrics and access log

Traefik monitoring on one page, with the cause first.

WatchLog reads Traefik’s own metrics and its access log on the machine. One scroll says what fails, which service has no server up and why, on Kubernetes, Docker and Linux servers.

No user, no password. No log line leaves the machine. Open source.

WatchLog’s Traefik page while a backend has no server up: Right now says service cart-api has no server up and Traefik answers 503 for it itself, after cart-api’s rollout, over the Status chart with the rollout as a pill.(opens the picture larger)
Right now

The answer first.

The top of the page is one sentence: which service has no server up, how many requests Traefik turned away for it, how many of its pods are ready, and the rollout that came just before. When nothing is wrong, it says that.

  • Four numbers: requests a second, the 5xx share, p95, services up.
  • See what broke scrolls to the cause; Open goes to the backend’s workload.
  • A rollout, or a deploy your scripts send to the events API, is named when it came just before.
Right now on WatchLog’s Traefik page while it fails: service cart-api has no server up, Traefik answers 503 for it itself and its backend has 0 pods ready, with the four numbers.(opens the picture larger)
Failing: the service, its pods and the rollout before it.
Right now on WatchLog’s Traefik page when it is calm: Everything is answering, with requests a second, the 5xx share, p95 and every service up.(opens the picture larger)
The same Traefik before the rollout: everything answers.
The chart

One chart, four views.

Status, Latency, Bandwidth and Connections share one chart, with the backends’ rollouts and Traefik’s reloads as pills on it. Drag across it to choose a period: every section and drawer below follows.

  • Hover for each series and the total; click a legend item to show it alone.
  • Shift and the arrow keys choose a period from the keyboard.
  • Connections are open connections by entrypoint, from Traefik’s metrics.
Where requests go

Which host goes to which service.

Each host on the left, the service that answers it on the right, each ribbon as wide as its requests. A service with no server up is red, with the requests Traefik turned away for it.

  • Hover a ribbon for its requests a second and its 5xx share.
  • Click a host or a service to open it.
  • Services are named by their backend: the Kubernetes Service and its workload, or the Compose service.

Hosts need the access log in JSON; with the common format or the metrics alone, routers stand in.

Routers and causes

Which routers fail, and why.

Routers come worst first, each with its rate, 5xx and p95. Beside them, why requests fail: no server up (Traefik’s own 503), the backend answering 5xx itself, a backend Traefik can’t reach or that doesn’t answer in time, and the 429s of a rate limit.

  • Each cause with its share of the failures and since when.
  • URLs become patterns on the machine, like /cart/items/{id}; query strings never leave it.
  • All routers opens the whole list, searchable and sortable.

Routers need the access log, or Traefik’s addRoutersLabels.

Drawers

Click anything, stay on the page.

Every row, ribbon and card opens a drawer over the page, and the drawer is in the address, so you can send the link. Esc closes it; ↑ and ↓ move to the previous or next row.

  • A service: its cause first, its servers or ready pods, its routers and URL patterns.
  • A router: its service, its URLs and its failures.
  • Its chart works like the page’s: hover, the arrow keys, drag to choose a period.
Everything else

Healthy things stay small.

Certificates, Middlewares, Traefik itself and Clients are one card each: one number, one sentence and a bar. A card turns amber or red only with a finding.

  • Certificates with the soonest expiry; a private key is never opened.
  • Middlewares: requests a limit turned away, and retries.
  • Traefik itself: memory, CPU, reloads and restarts.
Setup

It tells you what it can’t see.

The Setup view lists what WatchLog reads: Traefik’s metrics, its access log and the log’s format, health checks, and what each missing one costs, with the one step that adds the most.

  • The metrics are on by default in k3s and in Traefik’s Helm chart.
  • The access log in JSON adds hosts, routers, URLs, clients and time in the backend.
  • You change Traefik yourself; WatchLog never writes its configuration.
Traefik’s Helm chart, values.yaml
logs:
  access:
    enabled: true
    format: json

Or the flags --accesslog=true --accesslog.format=json. On a server whose Traefik writes to the journal, give the log a file. What the log adds.

Light or dark, desk or phone

The same answer on a phone.

The page comes in a light and a dark theme, and on a phone it keeps the same order: the answer first, then the chart and the rest.

Alerts that are already written

On from the first minute.

Press Monitor and these are created; you tick the ones that start on. Each goes to Slack, Telegram, email or a webhook, and says what, where and which service.

  • A service with no server up for a minutecritical
  • More than 5 % of requests answer 5xx for 5 minutescritical
  • p95 above 1 s for 5 minuteswarning
  • A certificate expires within 14 dayswarning
  • The last configuration reload failed (Traefik 2)warning
  • The service unreachable, or slow to connectcritical
Setup

One click. No user, no password.

  1. Install the WatchLog agentOne command on a server, or one Helm chart on a cluster.
  2. WatchLog finds TraefikTraefik 2 or 3, k3s’s bundled Traefik included, from the processes, images and ports the agent already sees. It appears under Applications.
  3. Press MonitorNo user, no password. Its metrics are read where Traefik serves them; the page and its alerts start at once.
Platform
# Traefik's Helm chart (k3s: a HelmChartConfig, in the docs)
helm upgrade <release> traefik/traefik -n <namespace> --reuse-values \
  --set metrics.prometheus.entryPoint=metrics
# Three flags on the Traefik container
--entrypoints.metrics.address=:9100
--metrics.prometheus=true
--metrics.prometheus.entrypoint=metrics

Optional. Traefik’s metrics already give requests, 5xx, latency and connections per entrypoint and service, and the services with no server up. The access log in JSON adds hosts, routers, URLs, clients and time in the backend.

Installed on a Linux server? WatchLog finds Traefik by its unit and reads its metrics on 127.0.0.1, and its access log from the file its configuration names. It never writes the configuration or opens a private key. Applications on Linux servers.

What each source adds →
Compared

Against Prometheus and dashboards, or shipping the logs.

WhatWatchLogPrometheus and dashboards, or a log pipeline you run
Time to the first chartMinutesHours: Prometheus, then dashboards
Which service has no server upNamed, with its ready pods and the rollout beforeA 503 count you trace by hand
Hosts, routers and URLsFrom the access log, counted on the machineNot in the metrics; a log pipeline you run
Where log lines goNowhere: counted, then droppedTo a log store, kept and paid for
Default alertsSix, written for youRules you write
Kubernetes, Docker and Linux serversAll threeDepends on your setup
Reads query strings and headersNeverWhatever the log holds
Ask your AI

Ask your AI about Traefik.

Claude and ChatGPT read the same facts through WatchLog’s MCP server, read-only: which service has no server up, where the 5xx come from, the slowest routers and each backend’s pods.

Connect your assistant →

Why does the shop answer 503?

get_application · explain_problem

traefik/traefik answers the 503s itself: shop/api has no server up. Its Deployment was scaled to 0 at 10:00.

An example on Kubernetes, written from the docs.
Questions

Traefik monitoring, answered.

Which Traefik does it work with?
Traefik 2.10 and later, and 3.x, on Kubernetes (k3s’s bundled Traefik included), in Docker and on Linux servers. On Docker 29, Traefik 3.6.1 or later: older versions’ Docker provider routes nothing there.
Do I have to turn anything on?
Traefik’s Prometheus metrics, on by default in k3s and in Traefik’s Helm chart. When they are off, the page gives the setting for your install and eBPF fills in plain-HTTP requests meanwhile. The access log is optional: it adds hosts, routers, URLs, clients and time in the backend.
Does WatchLog collect my Traefik logs?
No. The agent reads the access log on the machine and turns each line into counts, sums, latency histograms and short top lists there. Then the line is dropped: no log line leaves the machine and none is stored.
What does it never read?
Query strings, headers, cookies and bodies. URLs become patterns inside the agent, like /cart/items/{id}. On Kubernetes it reads the pod’s output, never its ConfigMap or Secrets.
How does it tell no server up from a failing backend?
Traefik answers 503 itself when a service has no server; the backend’s own 5xx come from the backend. WatchLog counts them apart, names the service, and follows it to the backend’s pods: scaled to 0, not ready, crashing or out of memory.
What does it cost on the machine?
Parsing and counting one access-log line takes about 2.3 µs in JSON: 1,000 lines a second is 0.2 % of one core. Each Traefik sends at most about 1,500 series for its log.
Is it free?
The open-source edition is free without limits. WatchLog Cloud is free for 5 servers or nodes.

See your own Traefik in five minutes.

Free on WatchLog Cloud for 5 servers or nodes, or run it yourself, open source.