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
|
|
@ -674,6 +674,13 @@ the types of `claude_code.token.usage`, which `claude` exports on the claude
|
|||
runtimes, so the cache hit rate reads the same way on every runtime: `cacheRead`
|
||||
over the sum of `input`, `cacheRead` and `cacheCreation`.
|
||||
|
||||
The controller counts what requests and runs come to as the counters
|
||||
`hyperhive.review_classifier.requests`, `.verdicts` and `.checks` and the
|
||||
histogram `.run.duration`, and the service counts each ask it repeats because
|
||||
an answer failed validation as `hyperhive.review_classifier.ask.retries`. The
|
||||
[metrics table](../scheduler/observability.md#review-classifier-result-metrics-swarm-controller)
|
||||
lists their labels, and the `review-classifier` Grafana dashboard charts them.
|
||||
|
||||
The classifier logs each run's result to its journal, which ships to
|
||||
VictoriaLogs like every swarm service container's
|
||||
([`services.md`](services.md#logs-victorialogs)).
|
||||
|
|
|
|||
Loading…
Reference in a new issue