tanvipenumudy commented on code in PR #6120:
URL: https://github.com/apache/ozone/pull/6120#discussion_r1470623723
##########
hadoop-ozone/dist/src/main/compose/common/grafana/dashboards/Ozone - ListKey
Metrics.json:
##########
@@ -77,7 +69,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_PROMETHEUS-1}"
+ "uid": "${DS_PROMETHEUS}"
Review Comment:
`Datasource ${DS_PROMETHEUS} was not found`
I have checked out the patch locally and tried viewing the dashboards using
Graphana via a docker-compose cluster with the monitoring add-ons, the
variable: `DS_PROMETHEUS` does not get resolved automatically - not sure if it
has something to do with my local settings! (please find the image attached).

I tried removing the `uid` field under `datasource` after which I do not run
into this issue - I get to see the graphs as expected.
```
"datasource": {
"type": "prometheus"
},
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]