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

Open
Slach opened this issue Oct 21, 2024 · 0 comments · May be fixed by #697
Open

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

Slach opened this issue Oct 21, 2024 · 0 comments · May be fixed by #697
Assignees
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 Slach added this to the 3.3.0 milestone Oct 21, 2024
@Slach Slach modified the milestones: 3.3.0, 3.3.1 Nov 28, 2024
@Slach Slach self-assigned this Dec 23, 2024
Slach added a commit that referenced this issue Dec 24, 2024
@Slach Slach linked a pull request Dec 24, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant