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
|
|
@ -181,7 +181,7 @@ fn build() -> Option<Instruments> {
|
|||
Ok(provider) => {
|
||||
tracing::info!(?interval, "otel turn-metrics: exporter enabled");
|
||||
let meter = provider.meter("hyperhive.turn_stats");
|
||||
swarm_cert_metrics::register(&meter, "agent");
|
||||
swarm_secret_client::cert_metrics::register(&meter, "agent");
|
||||
Some(Instruments {
|
||||
turn_duration_ms: meter
|
||||
.u64_histogram("hyperhive.agent.turn.duration")
|
||||
|
|
|
|||
Loading…
Reference in a new issue