Mimir ruler API: endpoint to atomically post a namespace #5130
hsyed-dojo
started this conversation in
Development
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey folks,
I am working on a prototype for alerting via code generation that relies on incrementally syncing alerting machinery to mimir. My design uses the namespace as a deletion boundary. So, to update a namespace I delete it and then submit the rulegroups:
Would it possible to get an endpoint to post an entire namespace atomically ?
Beyond just making the lives of upstreams easier the server can optimise the operation. Most of the time I foresee a few new rules being added to a single group. However since groups have a limit to how many rules they may contain a generalised code generation strategy will rely on maintaining this invariant with a numbering strategy and splitting groups as needed.
Beta Was this translation helpful? Give feedback.
All reactions