Watch
0
0
Fork
You've already forked hyperhive
0

move client-cert gauges behind an otel feature of swarm-secret-client, drop the crate

This commit is contained in:
atlas 2026-10-25 18:11:05 +01:00 • committed by mara
commit e592078868
19 changed files with 33 additions and 76 deletions

View file

@ -25,12 +25,10 @@ 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.
swarm-secret-client.workspace = true
swarm-secret-client = { workspace = true, features = ["otel"] }
tokio.workspace = true
tracing.workspace = true

View file

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