swarm-controller: emit vcs commit/push otel counters from an instance-wide forge webhook
This commit is contained in:
parent
228842b9d8
commit
6bb64d8bc2
6 changed files with 290 additions and 3 deletions
|
|
@ -44,6 +44,14 @@ hive-jobq-wire.workspace = true
|
|||
# (e.g. hive-c0re, for its own per-hive job graph) doesn't have to depend on
|
||||
# this whole binary to reuse it.
|
||||
hive-jobq-metrics.workspace = true
|
||||
# Direct OTEL SDK use in `vcs_metrics.rs` — sync counters recorded off
|
||||
# webhook deliveries, a different shape from `hive-jobq-metrics`'s
|
||||
# observable-gauge rollup, so it isn't a fit for that crate's API and lives
|
||||
# here instead. Same three crates that pairing already pulls in transitively,
|
||||
# named directly since this module builds its own `SdkMeterProvider`.
|
||||
opentelemetry.workspace = true
|
||||
opentelemetry_sdk.workspace = true
|
||||
opentelemetry-otlp.workspace = true
|
||||
# The forge webhook HMAC (`webhook.rs`). Kept in this crate rather than
|
||||
# shared with hive-c0re's equivalent: c0re's copy is scheduled to be deleted
|
||||
# with its webhook routes once registration moves here, so the second holder
|
||||
|
|
|
|||
Loading…
Reference in a new issue