Skip to content

Commit

Permalink
fix grafana dashboard path
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelMraka committed Apr 19, 2024
1 parent 5c479d5 commit 6b83c8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ podman-compose -f dev/sonar/docker-compose.yml up --build
## Update Grafana config map
Copy Grafana board json config to the temporary file, e.g. `grafana.json` and run:
~~~bash
./scripts/grafana-json-to-yaml.sh grafana.json > ./dashboards/grafana-dashboard-insights-patchman-engine-general.configmap.yaml
./scripts/grafana-json-to-yaml.sh grafana.json > ./dashboards/app-sre/grafana-dashboard-insights-patchman-engine-general.configmap.yaml
~~~

## Profiling
Expand Down
2 changes: 1 addition & 1 deletion dev/grafana/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ ADD /dev/grafana/extract_dashboard.py /usr/local/bin
ADD /dashboards/grafana/datasources /etc/grafana/provisioning/datasources
ADD /dashboards/grafana/dashboards /etc/grafana/provisioning/dashboards

ADD /dashboards/grafana-dashboard-insights-patchman-engine-general.configmap.yaml /etc/grafana
ADD /dashboards/app-sre/grafana-dashboard-insights-patchman-engine-general.configmap.yaml /etc/grafana

RUN extract_dashboard.py /etc/grafana/grafana-dashboard-insights-patchman-engine-general.configmap.yaml > /etc/grafana/provisioning/dashboards/grafana-dashboard-insights-patchman-engine-general.json

0 comments on commit 6b83c8e

Please sign in to comment.