move client-cert gauges behind an otel feature of swarm-secret-client, drop the crate
This commit is contained in:
parent
078696aaee
commit
e592078868
19 changed files with 33 additions and 76 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue