Commit 1d13b98
feat(metrics): add value pool, RPC, and peer health metrics (ZcashFoundation#10175)
* feat(metrics): add value pool, RPC, and peer health metrics
Add Prometheus metrics for operational visibility:
- Value pool metrics: transparent, sprout, sapling, orchard, deferred
balances and total chain supply (zebra-state)
- RPC metrics middleware: request counts, latencies, active requests,
and errors per method (zebra-rpc)
- Peer handshake metrics: duration histograms and failure tracking
by reason (zebra-network)
Also includes:
- Grafana dashboards for value pools and RPC monitoring
- Prometheus alert rules for critical conditions
- Updated CHANGELOG
Closes ZcashFoundation#10162, closes ZcashFoundation#10163, closes ZcashFoundation#10164, closes ZcashFoundation#10167
* chore: remove wrongly commited files to `.gitignore`
* chore: cargo fmt
* chore: clippy fix
* docs: fix changelog entries for PR ZcashFoundation#10175
- Remove ZcashFoundation#10174 entries from [Unreleased] (already in 4.0.0)
- Remove redundant "Added" prefix from entries
- Link to PR ZcashFoundation#10175 instead of issues
- Add rpc_metrics module entry to zebra-rpc changelog
* Update CHANGELOG.md
Co-authored-by: Marek <mail@marek.onl>
* Update zebra-rpc/CHANGELOG.md
Co-authored-by: Marek <mail@marek.onl>
---------
Co-authored-by: Marek <mail@marek.onl>1 parent 8b670c2 commit 1d13b98
File tree
13 files changed
+1829
-10
lines changed- docker/observability
- grafana/dashboards
- prometheus/rules
- zebra-network/src/peer
- zebra-rpc
- src
- server
- zebra-state/src/service/finalized_state/zebra_db
13 files changed
+1829
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | 1 | | |
4 | 2 | | |
5 | 3 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
58 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7158 | 7158 | | |
7159 | 7159 | | |
7160 | 7160 | | |
| 7161 | + | |
7161 | 7162 | | |
7162 | 7163 | | |
7163 | 7164 | | |
| |||
0 commit comments