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
|
|
@ -62,10 +62,8 @@ swarm-queue-client = { workspace = true, features = [
|
|||
"agent-permissions",
|
||||
"agent-archetype",
|
||||
] }
|
||||
# The `bao.client_cert.*` gauges on this exporter.
|
||||
swarm-cert-metrics.workspace = true
|
||||
swarm-matrix-client.workspace = true
|
||||
swarm-secret-client.workspace = true
|
||||
swarm-secret-client = { workspace = true, features = ["otel"] }
|
||||
swarm-wire.workspace = true
|
||||
tokio.workspace = true
|
||||
tokio-stream.workspace = true
|
||||
|
|
|
|||
|
|
@ -262,7 +262,7 @@ fn register_instruments(provider: &SdkMeterProvider, snapshot: Arc<Mutex<Vec<Con
|
|||
/// only because `gather()` is async — which `readiness()` is not.
|
||||
fn register_hive_instruments(meter: &opentelemetry::metrics::Meter) {
|
||||
// The hive's own store certificate (`client.pem`, `BAO_CLIENT_CERT`).
|
||||
swarm_cert_metrics::register(meter, "client");
|
||||
swarm_secret_client::cert_metrics::register(meter, "client");
|
||||
|
||||
// Seconds since the exporter started. A hive that is up reports this every
|
||||
// interval whether or not it hosts a single agent, which is what makes
|
||||
|
|
|
|||
Loading…
Reference in a new issue