How do you run Grafana in high availability?
AdvancedConceptGrafana
Answer
Run multiple Grafana replicas behind a load balancer sharing an external MySQL or PostgreSQL database (not SQLite). For unified alerting, configure HA so replicas share alert state and deduplicate notifications:
[database]
type = postgres
host = grafana-db:5432
[unified_alerting]
ha_peers = grafana-0.grafana:9094,grafana-1.grafana:9094
Use a shared remote cache or sticky sessions are not required. Keep provisioning files identical on every replica.
More on Grafana
What is Grafana and what is it not?BeginnerWhat is a Grafana datasource and how do you provision one?BeginnerWhat are dashboard variables and what types exist?IntermediateHow do multi-value and "All" variables work in PromQL queries?IntermediateWhat are Grafana's built-in time variables?IntermediateWhat does "dashboards as code" mean and what are the options?Intermediate