Refactor in preparation for Project Horse

This MR involves yakshaving in preparation for reusing some of this code in Project Horse.

  1. Remove unused variables
  2. Move library code out of the metrics-catalog and service directories
  3. Move all library code into libsonnet, including shared libraries in dashboards.
  4. All metrics-catalog access through a single entry point
  5. Rename aggregation sets so that they are neutral of Thanos deployment possibility: this means that Horse can reference an aggregation set such as componentSLIs which 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

Merge request reports

Loading