Commit Graph

9 Commits

Author SHA1 Message Date
Jim McDonald 34d6df9312
Work for Altair. 2021-08-02 19:53:47 +01:00
Jim McDonald 919a519b32
Linting.
Fix lint warnings given by revive (successor to golint).
2021-07-18 07:46:01 +01:00
Jim McDonald b825ba40b7
Add metrics to track strategy operations. 2021-05-19 15:29:23 +01:00
Jim McDonald f56fa48655
Add `vouch_ready` and `vouch_release` metrics.
`vouch_ready` is a prometheus metric that is `0` if Vouch is not yet
ready to validate, and `1` if it is.

`vouch_release` has a labeled value `version` that contains the release
version of Vouch.
2021-02-01 19:27:06 +00:00
Jim McDonald 052bc332d4
Add `epoch_slot` to block receipt delay.
This adds a label `epoch_slot` to the prometheus metric
`vouch_block_receipt_delay_seconds`.  It has been noted that the receipt
delay is often significantly higher for the first (and, to a lesser
extent, second) slot in a given epoch.  This allows the receipt delay to
be examined for specific slots in a given epoch.
2020-12-26 17:28:01 +00:00
Jim McDonald ad1495bae6
Fix 'vouch_attestation_process_duration_seconds'.
This metric used to count the number of internal attestation processes
carried out, however a single attestation process can involve multiple
validators if they are attesting in the same slot and committee.  This
fix ensures that the metrics reflect the number of attestations, not the
number of processes.
2020-12-16 14:05:11 +00:00
Jim McDonald fd48090007
Separate accountmanager. 2020-11-25 00:02:13 +00:00
Jim McDonald 7196a90d29
Increase block receipt delay metric to record up to 12s 2020-10-06 09:14:44 +01:00
Jim McDonald bee97962e7
Initial release 2020-09-28 07:46:00 +01:00