mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-18 05:18:30 +00:00
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:
@@ -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,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user