Skip to content

Rules API spec has non-optional fields #371

@saswatamcode

Description

@saswatamcode

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

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