grafana / grizzly

A utility for managing Jsonnet dashboards against the Grafana API
https://grafana.github.io/grizzly/
Apache License 2.0
574 stars 69 forks source link

[Feature Request]: Ability to handle notification policy sub-trees #530

Open onutu opened 1 week ago

onutu commented 1 week ago

Feature Request

The notification policy is handled as a sigle tree object, would it be possible to have some configuration in order to manipulate a sub tree only ? This would be very convenient if different teams are sharing the same grafana alerting system, each one with its own notification policy sub-tree.

Duologic commented 1 week ago

This is similar to the request here: https://github.com/grafana/crossplane-provider-grafana/issues/201

I believe this requires support from the API upstream.

onutu commented 5 days ago

As a final Grizzly user, I would just like to be able to handle our team sub-tree without concerning about other teams sub-trees. Is there any chance to have such a feature in the future (built upon a proper grafana API ou through some grizzly local magic) or should I start coding a workaround on my side ?

Duologic commented 9 hours ago

I'd suggest not to wait for the feature. Grafana uses OSS Alertmanager at the core of its product, which doesn't support this. Internally we also generate a single tree for all teams before handing it to Alertmanager, we do this within Jsonnet in a mono-repo where all teams have some control over their subtree.