Skip to content
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

Plugin does not work in newer Version than v8.5.0 due to API change #12

Closed
bwint opened this issue Jul 18, 2022 · 8 comments
Closed

Plugin does not work in newer Version than v8.5.0 due to API change #12

bwint opened this issue Jul 18, 2022 · 8 comments

Comments

@bwint
Copy link

bwint commented Jul 18, 2022

Hi!

After upgrading my Grafana instance to v9.0.3 I noticed that I'm getting 404 Errors after clicking on a button:
image

The 404 error is cause by trying to call the /api/tsdb/query path.
According to the Grafana v8.5.0 documentation the /api/tsdb/query path is deprecated.

So since v9.0.x the new path need to be /api/ds/query according to the docs.
At least it looks like the POST body format stayed the same.

Using the Health API it should be possible to determine the current Grafana version before sending the API call according to the button click.

@PepperJo
Copy link

+1

1 similar comment
@ingaa85
Copy link

ingaa85 commented Jul 19, 2022

+1

@mekochanski
Copy link

+1
any chances for a fix?

@speakyourcode
Copy link
Owner

Hi, we are planning to update to Grafana 9 in November. We'll fix this then.

@GaMeRaM
Copy link

GaMeRaM commented Nov 22, 2022

Seems like plugin has been fixed. Is it possible to release new version on grafana repo?
@speakyourcode

@PapaRoach25
Copy link

Could you please add a new release of your plugin to https://grafana.com/grafana/plugins/speakyourcode-button-panel/ as well?
Thanks in advance!

@speakyourcode
Copy link
Owner

It's waiting for approval
image
In the meantime, you can download it from the release page.

@speakyourcode
Copy link
Owner

v0.3.2 has been approved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants