-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(grafana): configurable datastore #806
Conversation
✅ Deploy Preview for capsule-documentation canceled.
|
Lgtm, let's align to the semantic commit messages to get it merged! I'd say |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I generally see the ${DS_PROMETHEUS}
notation but I guess it's ok without brackets
"text": "Prometheus", | ||
"value": "Prometheus" | ||
}, | ||
"hide": 0, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"hide": 0, | |
"hide": 2, |
So the variable is hidden and the default Prometheus data source is selected
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd think it's better to have this variable visible. For example, one may want to switch between prometheus (with short term storage) and Thanos.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok to me. :)
True. Let me check. |
@h4wkmoon can we convert this from draft to ready for getting merged? |
In grafana dashboard, prometheus datasource is hardcoded. This does fit every installation.
This PR make prometheus datasource a templating variable.