Watch
0
0
Fork
You've already forked hyperhive
0

export bao client-cert not_before/not_after gauges and alert past 80% of lifetime

This commit is contained in:
atlas 2026-10-25 17:41:47 +01:00 • committed by mara
commit 078696aaee
23 changed files with 604 additions and 53 deletions

View file

@ -25,6 +25,8 @@ opentelemetry-otlp.workspace = true
serde.workspace = true
serde_json.workspace = true
# The try-out subject and the shapes the controller sends and reads back.
# The `bao.client_cert.*` gauges on this exporter.
swarm-cert-metrics.workspace = true
swarm-queue-client.workspace = true
swarm-wire.workspace = true
# The API key and queue client secret paths, and the store login.

View file

@ -171,6 +171,10 @@ fn build() -> Option<(SdkMeterProvider, Counters)> {
.build();
let provider = SdkMeterProvider::builder().with_reader(reader).build();
let counters = counters(&provider);
swarm_cert_metrics::register(
&provider.meter("hyperhive.review_classifier"),
"review-classifier",
);
Some((provider, counters))
}