Grafana.ini - how can I disable legacy alerting?

Hello All, I am trying to enable unified alerting in Grafana, but I am encountering some issues with the grafana.ini file. How can I disable legacy alerting? Does anyone have a sample configuration they could share? I am getting the following error: Thanks . Error: failed to read unified alerting enabled setting: legacy and unified alerting cannot both be enabled at the same time, please disable one of them and restart Grafana

what version of grafana are you on?

It looks like they removed legacy alerting in Grafana 11, so if you’re still on Grafana 10 you’ll need to disable one of these

https://github.com/grafana/grafana/blob/v10.4.6/conf/defaults.ini#L1346
https://github.com/grafana/grafana/blob/v10.4.6/conf/defaults.ini#L1137

Yes I am on — grafana:10.2.0

alrighty so yeah - check out your settings, for [alerting] and [unified_alerting] - one of them needs to have enabled set to false

Thank you . It is working now after the change. Also any idea how to fix the unified alerting. I am struggling to set the values for kubernetes. Also dfeined the Grafana Service . This is what I am having in the ini file

      ha_listen_address: "${POD_IP}:9094" 
      ha_peers: "grafana-rds-headless:9094"
      ha_advertise_address: "${POD_IP}:9094"
      ha_peer_timeout: 15s   ```

I’m sorry, I’m not familiar with unified alerting. Maybe will have someone with some knowledge to help