mirror of https://github.com/linkerd/linkerd2.git
				
				
				
			| Fixes #7429 Currently Linkerd assumes that the Grafana instance is hosted on-cluster. Some users would like to use externally hosted Grafana instances, such as Grafana Cloud or AWS Managed Grafana. In general users will have multiple Linkerd clusters with dashboards in the same Grafana workspace, so we need to introduce a prefix for the Grafana dashboard UID's so that they remain unique. This PR adds two new viz config values, `grafana.uidPrefix` and `grafana.externalUrl`. When grafana.uidPrefix is set, it will insert the user-supplied prefix in the URL's for the Grafana dashboards. When grafana.externalUrl is set, its value will be used for the links to Grafana dashboards instead of using the grafana reverse proxy. Signed-off-by: Jack Gill <jack.gill@elationhealth.com> | ||
|---|---|---|
| .. | ||
| testdata | ||
| api_handlers.go | ||
| api_handlers_test.go | ||
| handlers.go | ||
| handlers_test.go | ||
| reverse_proxy.go | ||
| server.go | ||
| test_helpers.go | ||