Obtain from the new metrics DB the relays' ratios
Child of #313.
This could be accomplished by implementing the exporter either:
- in sbws
- in onbasca
- in bwauthealth (implies getting files from collector and parsing them)
- from the bandwidth files via the "new db"
I think the last way is preferred.
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- juga added Next Sponsor 112 Q3 S112-O3 labels
added Next Sponsor 112 Q3 S112-O3 labels
Maybe #320 (closed) and #321 (closed) should be
labels
for this metric.In any case, this metric should have information about the relays' flags (guard, exit, etc.) that can be retrieved from the consesuses.
- juga mentioned in issue #305 (closed)
mentioned in issue #305 (closed)
- juga marked this issue as related to tpo/network-health/metrics/monitoring-and-alerting#29 (closed)
marked this issue as related to tpo/network-health/metrics/monitoring-and-alerting#29 (closed)
- Georg Koppen assigned to @juga
assigned to @juga
- juga marked this issue as related to #305 (closed)
marked this issue as related to #305 (closed)
- juga changed title from Create prometheus node exporter with relays' ratios to Obtain from the new metrics DB the relays' ratios
changed title from Create prometheus node exporter with relays' ratios to Obtain from the new metrics DB the relays' ratios
In concrete to extract the ratios as time series per relay, the query can be like:
SELECT time, greatest(r_strm, r_strm_filt) as ratio, FROM bandwidth_record where $__timeFilter("time") and (node_id = '$node_id' or nick = '$nick') and r_strm != 0;
Though to solve the parent tickets this query have to be combined with others.
Edited by juga- juga closed
closed
- juga added 15m of time spent
added 15m of time spent