feat: add standard gitlab label taxonomy to kube-state-metrics for GET monitoring
- Requires !4335 (merged)
- Part of #78 (closed)
Continuation of !4335 (merged)
- Updated TODOs with links to new issues
- Moved kube-state-metrics helpers to
libsonnet/to make the code reusable in the GET setup - Normalized all different code paths in
libsonnet/kube-state-metrics/recording-rules.libsonnetto use similar definitions. - Updated some omissions from !4335 (merged) for
apiandwebnodepool selection. - Improves relabelling to omit any static labels in recording rule generation
-
Adds kube-selectors for GET monitoring (currently only
webservice, using the labelapp=webservice)
Tested with https://gitlab.com/gitlab-com/gl-infra/gitlab-dedicated/instrumentor/-/merge_requests/268, confirmed working
Edited by Andrew Newdigate
