Watch
0
0
Fork
You've already forked hyperhive
0

matrix: report homeserver up, latency and database size through existing collectors

tuwunel 1.9.4 exports no metrics. The host collector gets an httpcheck
receiver on the gateway's /_matrix/client/versions (new
services.hyperhive.otel.httpChecks, declared by hive-matrix), and a timer in
the hive-matrix container pushes the database directory's size through the
forwarder's OTLP port, as the attic cache-size unit does. The size step
dereferences the state directory's symlink and pushes nothing for a result
under 4096 bytes.
This commit is contained in:
atlas 2026-11-05 01:24:22 +01:00 • committed by mara
commit bef9d401a4

View file

@ -77,6 +77,9 @@ in
# Runs ./host-modules/lib/refresh-consumer.nix's restart decision under a
# comma-decimal locale, against a stub `systemctl`.
script-test-refresh-consumer = import ./script-tests/refresh-consumer.nix { inherit pkgs; };
# Runs ./host-modules/lib/database-size-push.nix against a symlinked directory,
# as a dynamic user's state directory is: the reported size is the target's.
script-test-database-size-push = import ./script-tests/database-size-push.nix { inherit pkgs; };
# Runs ./host-modules/lib/retry-in-job.nix's `retry_in_job`, which the agent
# trust-bundle fetch retries through inside its start job: success after two
# failures, the wait schedule, and a return of 1 once the budget is spent.