Opened 8 years ago

Closed 7 years ago

#7895 closed enhancement (wontfix)

Add new Onionoo document type containing fast-exit history

Reported by: karsten Owned by:
Priority: Medium Milestone:
Component: Metrics/Onionoo Version:
Severity: Keywords:
Cc: mo, gsathya, arma Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


Moritz wrote a small script that keeps track of all "fast exits" as defined in #6498. The hourly updated output is here, where mouse-over shows timestamps.

#6730 discusses integrating this script into Compass, but as I argue there, we should rather think about integrating it into Onionoo and providing fast-exit history documents, and then visualize the data in Compass, Atlas, or whichever visualization tool we want. That would be a much better design, because Onionoo can import past history and compensate for temporary downtime much easier than Compass or this script can.

What data would we expect Onionoo to provide here? I could imagine a format similar to bandwidth documents but with fractions of being considered a "fast exit" in the given "interval" lengths. For the "3_days" graph with a detail level of 1 hour this is easy, because it's just 0 or 1. For "1_week", "1_month", etc. it would be some value in [0..1] saying what fraction of the displayed detail of 4 hours, 12 hours, etc. the relay was a "fast exit". What we can't do is keep hourly detail for older data, because that simply wouldn't scale. Would this be helpful?

This ticket is currently blocking on pyonionoo, because we shouldn't make too many changes to Onionoo while pyonionoo is trying to catch up.

Once this ticket is implemented, we'll have to open a new ticket for using the new documents in Compass, Atlas, or wherever we want.

Child Tickets

Change History (2)

comment:1 Changed 8 years ago by arma

Cc: arma added

comment:2 Changed 7 years ago by karsten

Resolution: wontfix
Status: newclosed

I think this ticket has become moot with #8505. Please re-open if this is not the case. Closing.

Note: See TracTickets for help on using tickets.