Set up notifications policies

  • What Grafana version and what operating system are you using?

Grafana version: 10.4.1
Helm chart version: 10.4.1

  • What are you trying to achieve?

I want to configure notifications policies to route the alert to ms team channels.

  • How are you trying to achieve it?

In the values.yaml file. I added the configurations of notifiers

notifiers:
  notifiers.yaml:
   notifiers:
    - name: devops
      uid: devops 
      receiver: DevOps.Alarms
      object_matchers:
        - ['team','=','devops']* 

DevOps.Alarms is a contact point create in the same values.yaml file.

  • What did you expect to happen?

Grafana pod does not run with this config.

Welcome @paulojorgefreitascab

Can you try to importing the yaml file that you can export in Contact points > More > Export ?

If that fails, can you share any relevant grafana server logs ?

Thank you

Hi @antonio
I think I am causing a little confusion between notifiers and policies.

When I export the notifier policies I notice that the yaml is different from the notifiers.yml in the helm chart.

apiVersion: 1
policies:
- orgId: 1
receiver: MI-DH.DevOps.Alarms
group_by:
- ‘…’

In the helm chart, I can’t see any place to put policy configurations

Thanks