Refactor in preparation for Project Horse
This MR involves yakshaving in preparation for reusing some of this code in Project Horse.
- Remove unused variables
- Move library code out of the
metrics-catalogandservicedirectories - Move all library code into
libsonnet, including shared libraries indashboards. - All metrics-catalog access through a single entry point
- Rename aggregation sets so that they are neutral of Thanos deployment possibility: this means that Horse can reference an aggregation set such as
componentSLIswhich in the case of Horse will be Prometheus aggregated (and on GitLab.com, will be Thanos evaluated)
This MR might seem enormous, but the output is identical to the original output: no YAML changes were made.
Edited by Andrew Newdigate