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

Query: Fix rendered JSON state value for rules and alerts should be in lowercase #2834

Merged
merged 1 commit into from
Jul 3, 2020

Commits on Jul 2, 2020

  1. pkg/rules/rulespb.AlertState: marshal JSON as lowercase

    Currently, alert state is rendered as upper case.
    In Prometheus it is lower case.
    This fixes it.
    
    Signed-off-by: Sergiusz Urbaniak <sergiusz.urbaniak@gmail.com>
    s-urbaniak committed Jul 2, 2020
    Configuration menu
    Copy the full SHA
    dfb820f View commit details
    Browse the repository at this point in the history