digital-asset / decentralized-canton-sync

Apache License 2.0
2 stars 1 forks source link

missed rounds metric #159

Open sgatewood-da opened 3 weeks ago

sgatewood-da commented 3 weeks ago

if missed-rounds.py could somehow be a metric (e.g. exposed by scan) that would be very neat

Could have alarms go off when you're missing out on coin

maybe like a Gauge of "total coin missed in the last 6 rounds", per SV?

waynecollier-da commented 1 week ago

This is in the current UX plan for Digital Asset CN engineering

omaiko-intellecteu commented 1 week ago

@sgatewood-da, do you have a readme for that script? How do you set it up properly to get constant information about the missed rounds?

omaiko-intellecteu commented 1 week ago

Can the "missed rounds" metric count as the uptime in terms of availability of the network and accessibility of standalone validators? Can we automatically exclude data related to maintenance?

sgatewood-da commented 1 week ago

Here is an example invocation:

python3 missed-rounds.py --verbose --party 'Digital-Asset-1::123456789abcedef' --begin-record-time '2024-09-24T14:00:26Z' --end-record-time '2024-09-24T16:00:26Z' --begin-migration-id 0 https://scan.sv-1.global.canton.network.digitalasset.com/