Skip to content

state value for rules and alerts should be in lowercase #2830

@vikram-raj

Description

@vikram-raj

Currently, the state value for rules and alerts is in uppercase (e.g. state: "FIRING"). Can we change the state value to lowercase?

Thanos, Prometheus and Golang version used:

Object Storage Provider:

What happened:
The state value for rules and alerts is in uppercase (e.g. state: "FIRING")

What you expected to happen:
The state value for rules and alerts should be lowercase (e.g. state: "firing").

How to reproduce it (as minimally and precisely as possible):
Check the response of thanks rules API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions