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

Use $__rate_inteval in Thanos mixin dashboards #6052

Merged
merged 1 commit into from
Jan 19, 2023

Conversation

danielmellado
Copy link
Contributor

@danielmellado danielmellado commented Jan 18, 2023

This PR changes the Thanos mixin dashboard widgets that are using
the rate function from $interval magic variable to __rate_interval.

It has been added in Grafana 7.2 for that exact purpose.

Signed-off-by: Daniel Mellado dmellado@redhat.com

@danielmellado
Copy link
Contributor Author

@douglascamata ^^ Thanks! :)

Copy link
Member

@saswatamcode saswatamcode left a comment

Choose a reason for hiding this comment

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

Thanks!

mixin/dashboards/rule.libsonnet Outdated Show resolved Hide resolved
examples/dashboards/rule.json Outdated Show resolved Hide resolved
douglascamata
douglascamata previously approved these changes Jan 18, 2023
Copy link
Contributor

@douglascamata douglascamata left a comment

Choose a reason for hiding this comment

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

LGTM :)

squat
squat previously approved these changes Jan 18, 2023
Copy link
Member

@squat squat left a comment

Choose a reason for hiding this comment

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

nice :)

@squat squat enabled auto-merge (squash) January 18, 2023 10:16
This PR changes the Thanos mixin dashboard widgets that are using
the rate function from $interval magic variable to __rate_interval.

It has been added in Grafana 7.2 for that exact purpose.

Signed-off-by: Daniel Mellado <dmellado@redhat.com>
auto-merge was automatically disabled January 19, 2023 10:10

Head branch was pushed to by a user without write access

@saswatamcode saswatamcode enabled auto-merge (squash) January 19, 2023 10:43
@danielmellado
Copy link
Contributor Author

@squat mind re-approving this? I had to rebase due to bad CI, thanks! cc @saswatamcode ;)

@saswatamcode saswatamcode merged commit 2d6b0d4 into thanos-io:main Jan 19, 2023
sshantel pushed a commit to sshantel/thanos that referenced this pull request Jan 28, 2023
This PR changes the Thanos mixin dashboard widgets that are using
the rate function from $interval magic variable to __rate_interval.

It has been added in Grafana 7.2 for that exact purpose.

Signed-off-by: Daniel Mellado <dmellado@redhat.com>

Signed-off-by: Daniel Mellado <dmellado@redhat.com>
ngraham20 pushed a commit to ngraham20/thanos that referenced this pull request Apr 17, 2023
This PR changes the Thanos mixin dashboard widgets that are using
the rate function from $interval magic variable to __rate_interval.

It has been added in Grafana 7.2 for that exact purpose.

Signed-off-by: Daniel Mellado <dmellado@redhat.com>

Signed-off-by: Daniel Mellado <dmellado@redhat.com>
ngraham20 pushed a commit to ngraham20/thanos that referenced this pull request Apr 17, 2023
This PR changes the Thanos mixin dashboard widgets that are using
the rate function from $interval magic variable to __rate_interval.

It has been added in Grafana 7.2 for that exact purpose.

Signed-off-by: Daniel Mellado <dmellado@redhat.com>

Signed-off-by: Daniel Mellado <dmellado@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants