Commit 6622da5
committed
feat: add attestation aggregate coverage metrics
Port leanSpec PR #735: register three IntGaugeVec metrics describing
attestation aggregate coverage, with default zero-valued series so
dashboards render from a fresh node startup.
- lean_attestation_aggregate_coverage_validators (section, subnet)
- lean_attestation_aggregate_coverage_subnets (section)
- lean_attestation_aggregate_coverage_diff_validators (direction)
ATTESTATION_AGGREGATE_COVERAGE_SECTIONS and
ATTESTATION_AGGREGATE_COVERAGE_DIFF_DIRECTIONS are exported as the
single source of truth for label sets. init() forces the new statics
and seeds combined-subnet, section, and direction series to 0 (18
default series total). Per-subnet (subnet="subnet_N") series appear
lazily when instrumentation writes them.
Registration only. The producer side (per-slot coverage computation,
de-duplication across payloads, and the chain-status log line) ports
zeam #876 and lands in a follow-up PR.
The diff_validators help text diverges from upstreams terse phrasing
to spell out the symmetric-difference semantics (block_only: in block
but not in local timely pool; timely_only: the reverse). Metric name,
labels, and values are unchanged.1 parent ae6ac42 commit 6622da5
1 file changed
Lines changed: 76 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
7 | 28 | | |
8 | 29 | | |
9 | 30 | | |
| |||
104 | 125 | | |
105 | 126 | | |
106 | 127 | | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
107 | 164 | | |
108 | 165 | | |
109 | 166 | | |
| |||
409 | 466 | | |
410 | 467 | | |
411 | 468 | | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
412 | 488 | | |
413 | 489 | | |
414 | 490 | | |
| |||
0 commit comments