Skip to content

ALERTRULE_STATE_DATA_NODATA contains incorrect value for AlertRulev9 #601

Open
@andreas-aman

Description

What you expected to happen?

I expect the AlertRule to contain correct value for no_data_state

What happened?

When I use ALERTRULE_STAT_DATA_NODATA and upload the alertgroup it returns the following error

{"message":"invalid rule specification at index [0]: unknown NoData state option No Data","traceID":""}%

How to reproduce it?

Create an AlertRulev9 with noDataAlertState=ALERTRULE_STAT_DATA_NODATA and upload it to grafana.

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