Gloas vc ptc duty (#8338)

Co-Authored-By: shane-moore <skm1790@gmail.com>

Co-Authored-By: Eitan Seri- Levi <eserilev@gmail.com>
This commit is contained in:
Shane K Moore
2026-04-16 03:23:18 -07:00
committed by GitHub
parent a9f43f9934
commit 794718e96b
8 changed files with 379 additions and 1 deletions

View File

@@ -197,6 +197,16 @@ pub fn gather_prometheus_metrics<E: EthSpec>(
&[NEXT_EPOCH],
duties_service.attester_count(next_epoch) as i64,
);
set_int_gauge(
&PTC_COUNT,
&[CURRENT_EPOCH],
duties_service.ptc_count(current_epoch) as i64,
);
set_int_gauge(
&PTC_COUNT,
&[NEXT_EPOCH],
duties_service.ptc_count(next_epoch) as i64,
);
}
}