You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Register certificate expiry metrics for Dirk and tracing TLS
Threads the metrics monitor and a stable certificate name into both
certificate manager call sites via go-certmanager's WithMonitor/WithName
options:
- Dirk-comms client cert: name="dirk" (the concern being the Dirk
coordination channel).
- Tracing TLS client cert: name="tracing" (the OTel collector
coordination channel).
To make the monitor available at tracing-init time, startMonitor is
hoisted out of startBasicServices and called from main() before
initTracing; the resulting bootstrap monitor is threaded down into
startBasicServices, which continues to upgrade it later with chainTime
and the HTTP server once they're ready. The Prometheus default registry
is global so gauge registration survives the upgrade.
Adds unit tests exercising both wiring sites with a prometheus-presenter
stub monitor and asserting the gauges appear in the default registry
under the expected name/role labels.
Bumps go-certmanager to pull in the metrics.Service interface plus
Prometheus gauges.
0 commit comments