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

Graphite Datasource: Autocomplete for tag values doesn't include the time range #86842

Open
shanson7 opened this issue Apr 24, 2024 · 0 comments
Labels
datasource/Graphite triage/needs-confirmation used for OSS triage rotation - reported issue needs to be reproduced

Comments

@shanson7
Copy link

What happened?

When using the query builder for graphite with tags, the time range is issued only for tag key autocomplete and not tag values.

Autocomplete for tag key:
https://grafana.example.com/api/datasources/proxy/uid/001/tags/autoComplete/tags?expr=namespace%3Dos&expr=name%3Dcpu.percent.idle.g&expr=cluster%3Dtkapps&limit=5000&from=1713934740&until=1713956388

Autocomplete for tag value:
https://grafana.example.com/api/datasources/proxy/uid/001/tags/autoComplete/values?expr=namespace%3Dos&expr=name%3Dcpu.percent.idle.g&expr=cluster%3Dtkapps&tag=host&limit=5000

What did you expect to happen?

I expect the time range for autocomplete to specified for both so that the result set only matches the values available in the currently selected time range.

Did this work before?

As far as I know, this has always been the behavior. I only notice it know as we move to Grafana Mimir backend and the autocomplete is slow because no time range is given.

How do we reproduce it?

  1. Create a graphite datasource with tags
  2. Use the graphite autocomplete

Is the bug inside a dashboard panel?

No response

Environment (with versions)?

Grafana: 10.0.1
OS: Windows
Browser: Chrome

Grafana platform?

None

Datasource(s)?

Graphite

@tonypowa tonypowa added datasource/Graphite triage/needs-confirmation used for OSS triage rotation - reported issue needs to be reproduced labels May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datasource/Graphite triage/needs-confirmation used for OSS triage rotation - reported issue needs to be reproduced
Projects
None yet
Development

No branches or pull requests

2 participants