alertmanager icon indicating copy to clipboard operation
alertmanager copied to clipboard

`amtool template render` improve default data

Open phil9909 opened this issue 1 year ago • 2 comments

Currently, the default example alerts of the amtool template render command contain an invalid status, leading to .Alerts.Firing and .Alerts.Resolved returning empty arrays.

This PR changes one of the two examples to firing the other to resolved.

phil9909 avatar Feb 15 '24 20:02 phil9909

Thanks for your contribution - @phil9909, can you fix the CI please? 🙏

gotjosh avatar Feb 16 '24 11:02 gotjosh

@gotjosh Sorry about that. For some reason I could not get make lint to work on my machine. I guess a version-missmatch in the linter.

Should be fixed now.

phil9909 avatar Feb 16 '24 16:02 phil9909