Elektrine lite

← Feed

@pid_eins@mastodon.social

Post #1495855

2026-03-13 08:51 UTC

instead of expecting those agents to understand every relevant services and their semantics individually, what if those services would all just implement the same, generic interface that allows pulling out the metrics you want in a normalized, unified way? Hence, in systemd v260 we now introduced a very simple way to do this: there's now a new directory: /run/systemd/report/. Every local service can bind an AF_UNIX socket in there if they like, and implement the same, very…

Replies (1)

  • @pid_eins@mastodon.social 2026-03-13 08:54

    …simple Varlink interface on it. A new tool "systemd-report" then iterates through those sockets, asks them all in parallel for their current metrics, compiles a single "report document" from it, and outputs it. In v260 there are two services implementing this new interface like this: PID1 and systemd-networkd. In the coming releases we hope to grow this list, and make more and more services generically observable this way. The metrics exposed are somewhat close to what Prometheus expects, …

    Open ##1495856