linkerd2/viz
Alejandro Pedraza b8ed799372
Include viz components in Prom scrapes, fix Linkerd Health charts (#5656)
* Include viz components in Prom scrapes, fix Linkerd Health charts

Fixes #5429

Expanded the `linkerd-controller` Prometheus scraping config so it also includes the `linkerd-viz` namespace. Also simplified the first relabelling config there removing the `_meta_kubernetes_pod_label_linkerd_io_control_plane_component` source label that wasn't serving any purpose. Just by its own, that extra scraping now allows having non-empty Go charts at the bottom of the `Linkerd Health` charts for the viz components.

Additionally, the `namespace-viz` variable was added into `health.json` which then is leveraged in the queries for the `Control-Plane Traffic` and `Control-Plane TCP Metrics` charts to include the viz pods.

Finally in that same file the queries for the `Data-Plane Telemetry` section were simplified by removing the filter on the `control_plane_ns` label which was redundant.
2021-02-04 09:40:23 -05:00
..
charts/linkerd-viz Include viz components in Prom scrapes, fix Linkerd Health charts (#5656) 2021-02-04 09:40:23 -05:00
cmd Include viz components in Prom scrapes, fix Linkerd Health charts (#5656) 2021-02-04 09:40:23 -05:00
metrics-api Extract from public-api all the Prometheus dependencies, and moves things into a new viz component 'linkerd-metrics-api' (#5560) 2021-01-21 18:26:38 -05:00
pkg viz: add data-plane and prometheus healthchecks (#5602) 2021-02-01 23:01:13 +05:30
static viz: move some components into linkerd-viz (#5340) 2020-12-23 20:17:31 +05:30