Altinn / Altinn/altinn-platform
Reconcile the Pyrra generated PrometheusRule CRs with Azure PrometheusRuleGroups resources
- Dominant language
- Go
- Stars
- 13
- Forks
- 7
- Avg merge
- 19h 21m
- Merged PRs (30d)
- 76
Description
Continuation of https://github.com/Altinn/altinn-platform/issues/995
Notes:
- Azure has a [tool](https://github.com/Azure/prometheus-collector/tree/main/tools/az-prom-rules-converter) that might work.
- The tool doesn't accept the raw manifest that Pyrra generates. [Here](https://github.com/Azure/prometheus-collector/blob/main/tools/az-prom-rules-converter/test-files/yaml-example.yml)'s an example input (i.e. we need to extract the group from the Pyrra generated manifest).
- The Interval (in the arm template) needs to be between 1 and 1440 which means that the PrometheusRule manifest can't have intervals lower than 60s. (Property name: Interval, Attempted value: 0.5, Error: '' must be between 1 and 1440. You entered 0.5.)
- Implementation can be done via a custom built controller that watches the PrometheusRule CRs and reconciles Azure PrometheusRuleGroups resources.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.