-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add password configuration to datasource settings #17
base: main
Are you sure you want to change the base?
Conversation
This currently bumps the minimum Grafana version to 9.1.0 through use of `SecretInput`, which isn't ideal - perhaps we could copy/paste that component in instead, or just write our own. Closes #16.
2a76870
to
93c25c9
Compare
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.
Why would the secret filed not be ideal?
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |||
|
|||
## [Unreleased] | |||
|
|||
### Added | |||
|
|||
- Add a 'password' field to the datasource settings and pass this when connecting to Materialize. This is required for Materialize Cloud. |
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.
- Add a 'password' field to the datasource settings and pass this when connecting to Materialize. This is required for Materialize Cloud. | |
- Add a `password` field to the datasource settings and pass this when connecting to Materialize. This is required for Materialize Cloud. |
Only because it's not available in Grafana < 9.1, so only people with Grafana 9.1.0 or higher could use the plugin. That's unlikely to be an issue though, I guess? I should definitely bump the minimum Grafana version in the plugin though... |
This is definitely a needed addition for Materialize Cloud, however it would seem to make sense to add a cluster option as well to be able to default the cloud cluster to run the query against, thus not having to add a set cluster statement to every query. |
Ah, thanks for this. I'll make sure to add the cluster option too. I'm still waiting for access to MZ Cloud which I need to test this PR though, not sure how long that'll take. |
This currently bumps the minimum Grafana version to 9.1.0 through use of
SecretInput
, which isn't ideal - perhaps we could copy/pastethat component in instead, or just write our own.
Closes #16.