File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,8 @@ There are many examples and scripts on available in the community that show how
7272The Coherence Operator source contains a script that can be used for this purpose
7373https://github.com/oracle/coherence-operator/raw/master/hack/grafana-import.sh[grafana-import.sh]
7474
75+ NOTE: The `grafana-import.sh` script requires the https://stedolan.github.io/jq/[JQ] utility to parse json.
76+
7577The commands below will download and run the shell script to import the dashboards.
7678Change the `<GRAFANA-USER>` and `<GRAFANA_PWD>` to the Grafana credentials for your environment.
7779For example if using the default Prometheus Operator installation they are as specified on the
@@ -82,8 +84,14 @@ We do not document the credentials here as the default values have been known to
8284----
8385curl -Lo grafana-import.sh https://github.com/oracle/coherence-operator/raw/master/hack/grafana-import.sh
8486chmod +x grafana-import.sh
85- ./grafana-import.sh -u <GRAFANA-USER> -w <GRAFANA_PWD> -p dashboards/grafana -t localhost:3000
8687----
88+ [source,bash]
89+ ----
90+ ./grafana-import.sh -u <GRAFANA-USER> -w <GRAFANA_PWD> -d dashboards/grafana -t localhost:3000
91+ ----
92+ Note: the command above assumes you can reach Grafana on `localhost:3000` (for example, if you have a kubectl port forward process
93+ running to forward localhost:3000 to the Grafana service in Kubernetes). You may need to change the host and port to match however
94+ you are exposing your Grafana instance.
8795
8896Coherence clusters can now be created as described in the <<docs/metrics/020_metrics.adoc,Publish Metrics>>
8997page, and metrics will eventually appear in Prometheus and Grafana. It can sometimes take a minute or so for
You can’t perform that action at this time.
0 commit comments