Opened 10 months ago

Last modified 10 months ago

#24495 new enhancement

Add aggregated summary documents

Reported by: irl Owned by: metrics-team
Priority: Low Milestone:
Component: Metrics/Onionoo Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description (last modified by irl)

This would be incredibly useful for #23782. These could also be a form of summary document to give basic stats about the number of relays/bridges having a particular value for a property. An example would be:

https://onionoo.torproject.org/aggregated_summary?group=version

{"version":"4.4",
"next_major_version_scheduled":"2017-12-17",
"build_revision":"25021a8",
"relays_published":"2017-12-02 14:00:00",
"aggregated_relays":{
"0.3.1.8": 30,
"0.3.1.9": 34,
"0.4.5.8": 2
},
"bridges_published":"2017-12-02 13:05:07",
"aggregated_bridges":{
"0.3.1.8": 31,
"0.3.1.9": 24,
"0.4.5.8": 2
}
}

(not real data)

You could use this to produce autocompletion lists for the advanced search form, but it would also have a secondary use for generating bar charts.

It should be easy enough to have the group argument be for any Onionoo details field.

Child Tickets

Change History (1)

comment:1 Changed 10 months ago by irl

Description: modified (diff)

Fixed description formatting.

Note: See TracTickets for help on using tickets.