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

AdHoc filter didn't work #315

Open
nicolas-fidel-wmx opened this issue Jan 2, 2025 · 1 comment
Open

AdHoc filter didn't work #315

nicolas-fidel-wmx opened this issue Jan 2, 2025 · 1 comment

Comments

@nicolas-fidel-wmx
Copy link

What happened:

In the latest version of the datasource, suggestions on adhoc filters no longer work. I can see in my browser that the api call version suggestions returns a 404 error.

If I create the same datasource but in the classic Prometheus version, it works fine.

It worked fine in 1.0.3

What you expected to happen:

Suggest label

How to reproduce it (as minimally and precisely as possible):

Example:

Create adhoc filter
Add a filter
No suggestions

Anything else we need to know?:

Environment:

  • Grafana version: 11.4
  • Plugin version: 1.0.4
  • OS Grafana is installed on: container
  • User OS & Browser: firefox
  • Others:
@iwysiu
Copy link
Contributor

iwysiu commented Jan 7, 2025

Hi @nicolas-fidel-wmx ! Thanks for the bug report, I've reproduced it and after investigating, it looks like it was introduced in the 11.4.0 release of the @grafana/prometheus package. I believe it was fixed since then but not released, so I'll revert the dependency for now.

@iwysiu iwysiu moved this from Incoming to Waiting in AWS Datasources Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Waiting
Development

No branches or pull requests

2 participants