linkerd2/viz/cmd
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
..
testdata Include viz components in Prom scrapes, fix Linkerd Health charts (#5656) 2021-02-04 09:40:23 -05:00
check.go viz: add data-plane and prometheus healthchecks (#5602) 2021-02-01 23:01:13 +05:30
dashboard.go extensions: make subcmds check/wait for respective extensions (#5566) 2021-01-26 23:01:25 +05:30
edges.go extensions: make subcmds check/wait for respective extensions (#5566) 2021-01-26 23:01:25 +05:30
edges_test.go 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
install.go extensions: make subcmds check/wait for respective extensions (#5566) 2021-01-26 23:01:25 +05:30
install_test.go viz: cleanup helm values.yaml (#5546) 2021-01-22 00:48:16 +05:30
main_test.go viz: add render golden tests (#5433) 2021-01-12 11:59:16 +05:30
profile.go viz: add viz profile command (#5621) 2021-02-01 19:02:46 -05:00
profile_test.go viz: add viz profile command (#5621) 2021-02-01 19:02:46 -05:00
root.go viz: add viz profile command (#5621) 2021-02-01 19:02:46 -05:00
routes.go 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
routes_test.go 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
stat.go extensions: make subcmds check/wait for respective extensions (#5566) 2021-01-26 23:01:25 +05:30
stat_test.go 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
tap.go extensions: make subcmds check/wait for respective extensions (#5566) 2021-01-26 23:01:25 +05:30
tap_test.go 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
top.go extensions: make subcmds check/wait for respective extensions (#5566) 2021-01-26 23:01:25 +05:30
uninstall.go cli: make `linkerd uninstall` fail when injected pods are present (#5642) 2021-02-03 12:31:30 +05:30