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

ALERTRULE_STATE_DATA_NODATA contains incorrect value for AlertRulev9 #601

Open
andreas-aman opened this issue Jun 7, 2023 · 1 comment

Comments

@andreas-aman
Copy link

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.

@verti9
Copy link

verti9 commented Oct 2, 2023

ValueError: could not upload alert. failed with status code: 500. message: unknown NoData state option No Data

Still getting the above error when alert is created using AlertRulev9. Can you please test and merge this MR to fix this issue?

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

No branches or pull requests

2 participants