linkerd2/viz/cmd
Tarun Pothulapati cb6c1fce03
viz: make prom checks dynamic by using annotations (#5680)
Fixes #5652 

This PR adds new annotation that is added when a
external Prometheus is used. Based on that
annotations, The CLI can get to know if an external instance
is being used and if the annotation is absent, that the
the default instance is present.

This updates the viz Checks to skip some checkers if the default
 Prometheus instances are absent.

This PR also removes the grafana checks as they are not useful
and add unnecessary complexity.

This also cleans up some `grafanaUrl` stuff from the core
control-plane chart.

Signed-off-by: Tarun Pothulapati <tarunpothulapati@outlook.com>
2021-02-12 21:25:42 +05:30
..
testdata viz: make prom checks dynamic by using annotations (#5680) 2021-02-12 21:25:42 +05:30
check.go Run extension checks when linkerd check is invoked (#5647) 2021-02-11 10:50:16 -06:00
dashboard.go extensions: make subcmds check/wait for respective extensions (#5566) 2021-01-26 23:01:25 +05:30
edges.go Move tap from core into Viz extension (#5651) 2021-02-09 12:43:21 -05:00
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: make prom checks dynamic by using annotations (#5680) 2021-02-12 21:25:42 +05:30
main_test.go viz: add render golden tests (#5433) 2021-01-12 11:59:16 +05:30
profile.go values: removal of .global field (#5699) 2021-02-11 23:38:34 +05:30
profile_test.go Move tap from core into Viz extension (#5651) 2021-02-09 12:43:21 -05:00
root.go Run extension checks when linkerd check is invoked (#5647) 2021-02-11 10:50:16 -06:00
routes.go Move tap from core into Viz extension (#5651) 2021-02-09 12:43:21 -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 Move tap from core into Viz extension (#5651) 2021-02-09 12:43:21 -05:00
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 Move tap from core into Viz extension (#5651) 2021-02-09 12:43:21 -05:00
tap_test.go Move tap from core into Viz extension (#5651) 2021-02-09 12:43:21 -05:00
top.go Move tap from core into Viz extension (#5651) 2021-02-09 12:43:21 -05:00
uninstall.go cli: make `linkerd uninstall` fail when injected pods are present (#5642) 2021-02-03 12:31:30 +05:30