Skip to content

feat(api): add common v3alpha - #5578

Draft
siavashs wants to merge 1 commit into
prometheus:mainfrom
siavashs:feat/api-v3alpha-common
Draft

siavashs wants to merge 1 commit into
prometheus:mainfrom
siavashs:feat/api-v3alpha-common

Conversation

@siavashs

Copy link
Copy Markdown
Contributor

Define common.v3alpha contracts for:

  • matchers
  • OR-of-AND matcher sets
  • receiver metadata
  • resource states
  • pagination
  • validation errors
  • partial results
  • required features

Add shared matcher conversion, filtering, signed page tokens, Connect error translation, and capability gates.

Wire alert, silence, group, notification, and feature dependencies into the Connect API.

Publish configuration, routes, receiver metadata, and the alert-status callback through one immutable reload snapshot after the inhibitor and dispatcher finish loading.

Store enabled features in one map as a cleaner solution.

Part of #5479

Define `common.v3alpha` contracts for:
- matchers
- OR-of-AND matcher sets
- receiver metadata
- resource states
- pagination
- validation errors
- partial results
- required features

Add shared matcher conversion, filtering, signed page tokens, Connect
error translation, and capability gates.

Wire alert, silence, group, notification, and feature dependencies into
the Connect API.

Publish configuration, routes, receiver metadata, and the alert-status
callback through one immutable reload snapshot after the inhibitor and
dispatcher finish loading.

Store enabled features in one map as a cleaner solution.

Part of prometheus#5479

Signed-off-by: Siavash Safi <siavash@cloudflare.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant