Opened 9 years ago

Closed 9 years ago

#4661 closed enhancement (implemented)

When metrics fetches a consensus from each authority, remember fetch duration

Reported by: arma Owned by: karsten
Priority: Medium Milestone:
Component: Metrics Utilities Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


On #4250 it looks like "the consensus-health checker now downloads the consensus from all authorities". Great. Next we should remember statistics about how long it took to fetch from each authority, and see if the numbers are consistently (or inconsistently) uglier for some authorities than others.

Child Tickets

Change History (5)

comment:1 Changed 9 years ago by karsten

When you say "remember statistics," you don't mean to archive them and make them available for others, right? That would be hard, because the consensus-checking tool is a mere consumer of metrics data, not a producer.

If this is just about remembering fetch durations for the past week and displaying statistics (min/mean/max fetch duration and number of timeouts on a given day) on the consensus-health page, that's easy.

comment:2 Changed 9 years ago by arma

I wouldn't mind if they're archived and available. That might turn out to be useful, to be able to say "moria1 is slower now than it was two months ago".

But whatever you do is better than what we have now, and we can learn from it whether it's enough.

comment:3 Changed 9 years ago by karsten

Okay, I'll start with displaying the last week of data. But at the same time I'll append raw fetch times to a file, so that we can decide in two months if we want to make them available somehow.

comment:4 Changed 9 years ago by karsten now contains a table with download statistics over the last 7 days.

Internally, I'm just appending raw download times to a file. So, whenever we decide we want to archive consensus download times more publicly, we have the data. But let's first see if the numbers are useful at all.

comment:5 Changed 9 years ago by karsten

Resolution: implemented
Status: newclosed

I created #4686 for the discussion whether we want to archive download durations. Closing this ticket, as the implementation is done.

Note: See TracTickets for help on using tickets.