Replace strings in Grafana® dashboards
Sometimes, it is useful to replace all occurrences of a string in Grafana® metric expressions.
Do it with the aiven-string-replacer-for-grafana tool available on
GitHub.
The approach described will work with your own Grafana® cluster or with an Aiven for Grafana® cluster.
Prerequisites
Building the tool requires a Go environment. Follow the Go installation instructions.
To build the tool from its source repository, run the following at the terminal prompt:
go install github.com/aiven/aiven-string-replacer-for-grafana