The tool doesn't accept the raw manifest that Pyrra generates. Here'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.
Continuation of https://github.com/Altinn/altinn-platform/issues/995
Notes: