-
Notifications
You must be signed in to change notification settings - Fork 6
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(deps): Bump @grafana from 8 to 9 #197
Conversation
Hi @lahabana , I tried to use https://www.npmjs.com/package/@grafana/create-plugin , it seems nice but add way too many files compared to what I was trying to do. Maybe you'll find it interesting ? |
Tried this create-plugin when started building this. It was way too limited for what we were doing and ended up not using it |
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.
LGTM but maybe @kleinfreund or @johncowen could weight in.
I had a look and don't see anything out of the ordinary, though actually assessing this functionality would require project familiarity and usage knowledge that I don't have. |
Any updates on this ? |
@mmorel-35 need to find time to double check the compatibility |
Any chance it might be addressed soon ? |
Signed-off-by: Matthieu MOREL <[email protected]>
Starting from 9.0 version, Grafana deprecates the use of Data source proxy calls by id in favor of Data source proxy calls
see https://grafana.com/docs/grafana/latest/developers/http_api/data_source/#data-source-proxy-calls-by-id
This changes the actual configuration of the kumahq-kuma-datasource, the property to use is now prometheusDataSourceUid instead of prometheusDataSourceId.
Thi also upgrades the @grafana dependencies to use 9.4.3 versions
Concerning the handleErrors function, I found it in https://github.com/grafana/grafana/tree/main/public/app/plugins/datasource/prometheus
Signed-off-by: Matthieu MOREL [email protected]