Add new Onionoo document type containing fast-exit history
Moritz wrote a small script that keeps track of all "fast exits" as defined in #6498 (moved). The hourly updated output is here, where mouse-over shows timestamps.
#6730 (moved) 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.