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

Fix Rule UI /rules endpoint bug #3346

Merged
merged 1 commit into from
Oct 21, 2020
Merged

Fix Rule UI /rules endpoint bug #3346

merged 1 commit into from
Oct 21, 2020

Conversation

sevagh
Copy link
Contributor

@sevagh sevagh commented Oct 21, 2020

Signed-off-by: Sevag Hanssian sevagh@protonmail.com

  • I added CHANGELOG entry for this change.
  • Change is not relevant to the end user.

Changes

This applies a similar change as the Prometheus project: prometheus/prometheus#7865

Verification

This fixes #3311 - in my existing Thanos setup, without this PR the rule UI (/rules page) doesn't show the rules correctly. I have this change deployed in production currently, working fine.

Signed-off-by: Sevag Hanssian <sevagh@protonmail.com>
Copy link
Member

@kakkoyun kakkoyun left a comment

Choose a reason for hiding this comment

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

🥇 LGTM. Good catch. Thanks for your contribution.

@allenmqcymp @prmsrswt Anything thing else you want to add before we merge this?

Copy link
Member

@onprem onprem left a comment

Choose a reason for hiding this comment

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

Looks fine to me. Thanks for the PR!

@kakkoyun kakkoyun merged commit 387d133 into thanos-io:master Oct 21, 2020
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 this pull request may close these issues.

Rule UI fails to load, template expansion failed, can't evaluate field GetEvaluationTimestamp
3 participants