api icon indicating copy to clipboard operation
api copied to clipboard

Rules API spec has non-optional fields

Open saswatamcode opened this issue 3 years ago • 0 comments

The Observatorium Rules API spec has some fields set as required for both Alerting and Recording rules (such as for, labels, annotations) which makes it incompatible with upstream Prometheus Rules format. This leads to situations where a valid rules file (checked via promtool check rules) fails to be set via Observatorium.

The Observatorium client spec is already compatible.

A/C:

  • Make Rule API spec compatible with upstream

cc: @jessicalins

saswatamcode avatar Sep 06 '22 04:09 saswatamcode