Implement endpoints for the Editor Analytics service. These endpoints are Druid-based.
Completion criteria: the following endpoints are implemented:
[] editors/aggregate
[v] editors/top-by-edits
[v] editors/top-by-net-bytes-difference
[v] editors/top-by-absolute-bytes-difference
[v] registered_users/new
See the parent task for discussion on a reusable package for commonalities between endpoints in this service and endpoints in the Edit Analytics service. There is additional related discussion in {T288301}.
Extremely rough proof-of-concept code for querying Druid can be found [[ https://gitlab.wikimedia.org/repos/generated-data-platform/aqs/wikistats-2/-/blob/T288301-query-functions/editors_aggregate_handler.go | here ]].
Useful information about the Druid schema can be found [[https://wikitech.wikimedia.org/wiki/Analytics/Data_Lake/Edits/Mediawiki_history_reduced|here]]