Skip to content

Rules API spec has non-optional fields #371

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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