feat(metrics): add public metrics endpoint configuration and update documentation (#92)

This commit is contained in:
Noste
2026-07-11 21:00:04 +02:00
committed by GitHub
parent 16dc2eb996
commit 9f73d032e6
8 changed files with 185 additions and 11 deletions
+6
View File
@@ -34,6 +34,12 @@ auth:
# The key is a 64-byte Ed25519 private key
jwt_private_key: "" # Leave empty to auto-generate, or provide PEM-encoded Ed25519 private key
# Expose Prometheus metrics at top-level /metrics WITHOUT authentication.
# Needed for Prometheus to scrape when auth (admin/token/oidc) is enabled.
# WARNING: exposes operational cluster telemetry (no object data or secrets)
# to anyone who can reach the port. Restrict with a NetworkPolicy / firewall.
metrics_public: false # Set to true to serve /metrics unauthenticated
# Admin Authentication (username/password)
admin:
enabled: false # Set to true to enable admin login