Repository navigation
WatchLog v1.7.1
WatchLog 1.7.1: every application on one page
1.6 gave Nginx a page you read top to bottom. 1.7 does the same for the other eight applications:
PostgreSQL, MySQL, MongoDB, Redis, RabbitMQ, Kafka, Traefik, PHP-FPM, and Nginx without its logs.
Each page opens with one sentence saying what is wrong right now, why, and the change it began
after. Nothing from the old tabs is gone: each tab is now a panel that slides in from the side
(a drawer), and the old links still work. (1.7.0 was tagged but never published: its release
stopped at the check that CI passed, because GitHub's API did not list the commit's CI runs during
an Actions outage. 1.7.1 is the same release, with that check reading the runs itself.)
What's new
- "Right now" on every application. One sentence, four numbers and the button that takes you
to the cause. For example: "Writes are waiting on a lock." with "inventory-sync holds a row lock
on stock in a transaction open for 5 min … It began after “inventory-sync 2.4.0 rolled out”".
When nothing is wrong it says so, with the rate and connections. - Who uses what. A flow from each service to what it uses: the tables or collections it spends
the database's time on, the queues it publishes to and consumes from, the topics each consumer
group reads, the hosts and backends behind Traefik and Nginx, the scripts PHP-FPM's workers
serve. - The lists, worst first: queries and statements, operations, key prefixes, queues, consumer
groups, routers, URLs, slow requests. Each row opens its drawer with its own chart and
numbers, and its cause first when it has one. - Why it is slow, why it backs up, why it lags, why it fails: the causes with their share of
the time and the evidence behind each one. - Deeper data where it was thin. Kafka: lag as time behind, members joining and leaving, and
producers ranked by the bytes they send. RabbitMQ: who publishes and who consumes, from the
agents' network flows. Redis: what fills the memory, by key prefix, with and without a TTL.
Traefik: routers, services with no server up, certificates, and Traefik's own reloads and
restarts. PHP-FPM: what busy workers wait on (database, network, sleep, PHP), from the slow log,
read on the machine. - The Applications list shows each service's "Right now" sentence in the same style.
- Both sides. Every page works on Kubernetes clusters and on Server fleets (services,
process groups and containers).
What isn't there, and why
- Kafka doesn't draw which producer writes to which topic. Kafka's admin API doesn't say, and
guessing would draw wrong lines. Producers are ranked by the bytes they send. - Traefik's middlewares aren't listed by name: neither Traefik 2.11 nor 3.6 exports them.
- PHP-FPM's request URLs come from Nginx's log. The status page shows only
/index.phpbehind a
front controller. - PHP-FPM's slow log needs
SYS_PTRACEin a container. The Docker agent's install now grants it
(withDAC_READ_SEARCHandSYS_RESOURCE, as the documenteddocker rundoes), and the page
says what to add when it is missing.
Also
- Dependency updates for the open advisories: ws 8.23, cross-spawn 7.1, minimatch 11.0.8 and
glob 14.0.6.
Changes since v1.7.0
Fixes
- the CI gate finds a commit's runs while GitHub's head_sha filter lags (release)
Install
Kubernetes (backend, web, agents in one chart):
helm install watchlog oci://ghcr.io/watchlog-light/charts/watchlog --version 1.7.1 \
--namespace watchlog --create-namespaceDocker hosts: see the install guide.
Verify
Images and charts are signed with cosign (keyless, GitHub Actions OIDC):
cosign verify ghcr.io/watchlog-light/agent:1.7.1 \
--certificate-identity-regexp '^https://github.com/watchlog-light/watchlog/\.github/workflows/release\.yml@refs/tags/v' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com