review classifier: export request, verdict, check and run metrics, with a dashboard
The controller counts review requests, verdicts and per-check results and times each run; the classifier service counts retried asks. A provisioned Grafana dashboard charts them.
This commit is contained in:
parent
7680b07fcb
commit
eaf26aaadd
13 changed files with 1390 additions and 28 deletions
|
|
@ -157,6 +157,8 @@ x509-cert.workspace = true
|
|||
tokio = { workspace = true, features = ["test-util"] }
|
||||
# A fresh directory per test `nats-server`, for its store and ports file.
|
||||
tempfile = "3"
|
||||
# `InMemoryMetricExporter`, to read back what `review_classifier::metrics` records.
|
||||
opentelemetry_sdk = { workspace = true, features = ["testing"] }
|
||||
# `ServiceExt::oneshot`, to drive a route through the real router in tests.
|
||||
tower = { version = "0.5", features = ["util"] }
|
||||
# A layer that captures `review_classifier::runs`'s log event in a test.
|
||||
|
|
|
|||
Loading…
Reference in a new issue