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

Multiple time series vs One time series data links inside time series panel #644

Closed
Slach opened this issue Oct 21, 2024 · 1 comment · Fixed by #697
Closed

Multiple time series vs One time series data links inside time series panel #644

Slach opened this issue Oct 21, 2024 · 1 comment · Fixed by #697
Assignees
Labels
bug p1 Priority 1
Milestone

Comments

@Slach
Copy link
Collaborator

Slach commented Oct 21, 2024

  • standart timeseries query, 3 fields, timestmap, category_name, metric
  • time series panel
  • data link var-template_variable_name=${__field.name}

works correctly if we have multiple time series

but works wrong when got only one time series name
used var-template_variable_name=Value, looks like grafana bug, but need to check

If use ${__field.name} in data link, then will work for multiple time series and doesn't work for one time series
If use ${__series.name}, then work for one time series, but doesn't work for multiple

example of data links

/d/${__dashboard.uid}/${__dashboard}?${datasource:queryparam}&${metric:queryparam}&${query_kind:queryparam}&${hostname:queryparam}&${exception_code:queryparam}&${query_hash:queryparam}&${__url_time_range}&var-user=${__field.name}

image

@Slach
Copy link
Collaborator Author

Slach commented Dec 25, 2024

we can fix it only in grafana/grafana#98373

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

Successfully merging a pull request may close this issue.

1 participant