Skip to content

feat: add observability endpoints - #146

Open
tionis wants to merge 1 commit into
encodeous:mainfrom
tionis:observability-endpoints
Open

feat: add observability endpoints#146
tionis wants to merge 1 commit into
encodeous:mainfrom
tionis:observability-endpoints

Conversation

@tionis

@tionis tionis commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Implemented observability endpoints. Fixes #137.

The current setup is intentionally simple: it assumes all nodes use the same observability port, and the endpoints have no access control or TLS.

Endpoints:

  • /metrics — Prometheus metrics
  • /healthz — liveness check
  • /readyz — readiness check
  • /discovery — Prometheus HTTP service discovery

The following metrics are currently exported:

  • Neighbour, endpoint, route, and advertised-prefix counts
  • WireGuard traffic counters and handshake times
  • Endpoint state, RTT, and routing metrics
  • Selected Babel route metrics
  • Active configuration timestamp

The server is enabled using observability_addr in node.yaml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Observability endpoints: prometheus, healthz, readyz, discovery

1 participant