swarm-notify-router: export event, todo, review request and consumer metrics
This commit is contained in:
parent
d86ecd68a8
commit
7efcfd0644
1 changed files with 413 additions and 4 deletions
|
|
@ -15,6 +15,10 @@ async-nats = { workspace = true, features = ["kv"] }
|
|||
# StreamExt / TryStreamExt on the pulled batch and the subject listing.
|
||||
futures-util.workspace = true
|
||||
hive-log.workspace = true
|
||||
# The metrics the router exports (`metrics`), pushed through the OTLP exporter
|
||||
# `swarm-secret-client`'s `meter_provider` builds.
|
||||
opentelemetry.workspace = true
|
||||
opentelemetry_sdk.workspace = true
|
||||
serde.workspace = true
|
||||
serde_json.workspace = true
|
||||
# The connect, and the two streams' configs it shares with the controller and
|
||||
|
|
@ -24,7 +28,7 @@ swarm-queue-client = { workspace = true, features = [
|
|||
"router-todo",
|
||||
] }
|
||||
# Its queue client secret, read with its own store leaf.
|
||||
swarm-secret-client.workspace = true
|
||||
swarm-secret-client = { workspace = true, features = ["otel"] }
|
||||
# The stream, subject, bucket and op names.
|
||||
swarm-wire.workspace = true
|
||||
tokio.workspace = true
|
||||
|
|
@ -32,6 +36,8 @@ tracing.workspace = true
|
|||
|
||||
# A fresh directory per test `nats-server`, for its store and ports file.
|
||||
[dev-dependencies]
|
||||
# `InMemoryMetricExporter`, to read back what `metrics` records.
|
||||
opentelemetry_sdk = { workspace = true, features = ["testing"] }
|
||||
tempfile = "3"
|
||||
tracing-subscriber.workspace = true
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue