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

Loki: Send correct time range in template variable queries #36268

Merged
merged 1 commit into from
Jun 29, 2021

Conversation

ivanahuckova
Copy link
Member

@ivanahuckova ivanahuckova commented Jun 29, 2021

What this PR does / why we need it:

For template variable queries we've been using incorrect from and to parameters. These should have been everywhere (in all loki queries) start & end https://grafana.com/docs/loki/latest/api/#get-lokiapiv1labels. This PR fixes it.

@ivanahuckova ivanahuckova added this to the 8.0.4 milestone Jun 29, 2021
@ivanahuckova ivanahuckova self-assigned this Jun 29, 2021
@ivanahuckova ivanahuckova requested a review from a team June 29, 2021 12:42
@ivanahuckova ivanahuckova requested review from olbo98, gabor and Elfo404 and removed request for a team and olbo98 June 29, 2021 12:42
Copy link
Member

@Elfo404 Elfo404 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good from start to end!

@ivanahuckova ivanahuckova merged commit abb1c10 into main Jun 29, 2021
@ivanahuckova ivanahuckova deleted the ivana/loki-variables-params branch June 29, 2021 16:06
Observability (deprecated, use Observability Squad) automation moved this from Under review to Done Jun 29, 2021
grafanabot pushed a commit that referenced this pull request Jun 29, 2021
ivanahuckova added a commit that referenced this pull request Jun 29, 2021
…36268) (#36275)

(cherry picked from commit abb1c10)

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

3 participants