Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -3329,8 +3329,8 @@
},
"timepicker": {},
"timezone": "browser",
"title": "KeyCloak MicroProfile Metrics",
"uid": null,
"title": "Keycloak",
"uid": "keycloak",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change would prevent the uid's from being generated by Grafana and it would therefore not be possible to monitor multiple KeyCloak instances with one Grafana instance. You can use the Grafana API to get the current UID of the Dashboard or to automatically generate shortened links. You can have a look at one of my other projects to solve your problem.

Suggested change
"uid": "keycloak",
"uid": null,

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The dashboard has variables to switch between job and instance. I think using them is the right method to monitor multiple. WDYT? Also, when adding a dashboard with a predefined uid, Grafana allows to update the uid on import time.

"version": 4,
"weekStart": ""
}
}