You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add some prometheus gauges to the metrics collection that track lifetime usage.
This can be done by querying the sqlite db in a guagefunc:
select count(*) from credential_events where operator_type = 0; -> times access granted to RP NOs select count(*) from credential_events where operator_type = 1; -> times access granted to solo stakers
we can sum these in grafana for a third (total), so no need to independently add it as a metric.
We should also count distinct node ids for each type for a "total lifetime users" gauge.
The text was updated successfully, but these errors were encountered:
Add some prometheus gauges to the metrics collection that track lifetime usage.
This can be done by querying the sqlite db in a guagefunc:
select count(*) from credential_events where operator_type = 0;
-> times access granted to RP NOsselect count(*) from credential_events where operator_type = 1;
-> times access granted to solo stakerswe can sum these in grafana for a third (total), so no need to independently add it as a metric.
We should also count distinct node ids for each type for a "total lifetime users" gauge.
The text was updated successfully, but these errors were encountered: