Advanced Grafana Interview Questions for Operators (2027)
Advanced Grafana interview questions for platform and SRE roles: HA, shared database, alerting HA, provisioning, Git Sync and Grafana 13 upgrades.
Advanced Grafana interview questions focus on running Grafana for many teams: high availability with a shared database, alerting that does not double-notify, dashboards and data sources managed as code, Git Sync, access control, and safe upgrades to Grafana 13. Interviewers expect you to explain the setting, the failure it prevents and how you would check it.
This guide is for engineers who already build dashboards and write PromQL and now want platform, SRE or observability roles where they own the Grafana service itself. Answers were checked against the Grafana documentation in November 2026. For dashboard design questions see our Grafana dashboard interview questions, and for the full LGTM stack architecture see the Grafana architect interview questions.
Key takeaways
- Grafana HA needs two or more servers behind a load balancer and a shared MySQL or PostgreSQL database in place of the default SQLite file.
- Sessions use database-backed auth tokens by default, so sticky sessions are not needed.
- In alerting HA every instance evaluates every rule by default, and the instances gossip so only one notification is sent. This deduplication is best effort.
- Provisioning uses YAML files under
provisioning/datasources,provisioning/dashboardsandprovisioning/plugins. Alerting resources have their own provisioning guide. - Grafana 13 made dynamic dashboards and Git Sync generally available and removed the
grafana-cliandgrafana-servercommands. - We could not confirm a Grafana certification on Grafana Labs' own site, so this page is interview preparation and does not point you at any exam.
How advanced Grafana interviews differ
A mid-level interview asks how to build a panel. An advanced one asks what happens when the Grafana pod restarts during an incident, why on-call got the same page three times, or how fifty teams can change dashboards without breaking each other's work. The table shows the areas that come up most often in operator-focused rounds.
| Area | Typical question | What a strong answer covers |
|---|---|---|
| Availability | How do you make Grafana HA? | Shared database, multiple servers, load balancer, alerting HA |
| Alerting | Why did we get duplicate pages? | ha_peers, gossip, external Alertmanager for strict dedup |
| As code | How do you version dashboards? | File provisioning, Git Sync, Terraform, review process |
| Access | How do teams stay separated? | Organizations, folders, teams, permissions |
| Change | How do you upgrade safely? | Breaking changes list, database backup, staged rollout |
High availability and storage
1. How do you run Grafana in high availability?
Run at least two Grafana servers in an active-active setup behind a load balancing reverse proxy. Point every server at the same MySQL or PostgreSQL database through the [database] section of the configuration, and make that database highly available too, because it is now the single shared dependency. Terminate TLS at the load balancer, and give users the same cluster hostname they already use.
2. Why is SQLite a problem in production?
SQLite is the default and it lives as a file on one server. Two servers cannot share it safely, so you cannot scale out, and losing the disk loses users, dashboards, folders and alert state. Moving to MySQL or PostgreSQL is the first step of any HA design. It also makes backups part of your normal database routine.
3. Do you need sticky sessions on the load balancer?
No. Grafana uses a database-backed auth token strategy by default, so any server can validate a user's session. Candidates who insist on sticky sessions usually learned on old versions or on a setup with a non-default session store.
4. What should you watch out for with Grafana Live in HA?
Grafana Live has limitations when several servers are running, because a streaming connection lives on one server. The docs point to a separate Grafana Live HA section for this. In an interview, it is enough to say you would check that section and test streaming panels behind the load balancer before go-live.
5. What does an Enterprise license need in HA?
The license token is issued to the shared hostname, and each node's root_url in grafana.ini must be set to that hostname before the license is installed on the cluster.
Alerting at scale
6. How does Grafana Alerting behave with several instances?
By default every instance evaluates every alert rule. The work is duplicated on purpose, so alerting keeps working if one instance fails. The built-in Alertmanagers share state with a gossip protocol so that only one notification goes out. Silences are gossiped too, so a silence created on one instance applies everywhere. Notifications and silences are also saved to the database periodically and on graceful shutdown.
7. Which settings turn on alerting HA?
Under [unified_alerting], set ha_peers to a comma-separated list of host:port entries for the instances, normally on port 9094. Set ha_listen_address if the default of all interfaces is wrong, and ha_advertise_address when instances sit behind NAT. In Kubernetes the docs show the advertise address set from the pod IP, for example "${POD_IP}:9094".
[unified_alerting]
enabled = true
ha_peers = grafana-0.grafana-headless:9094,grafana-1.grafana-headless:9094
ha_listen_address = 0.0.0.0:9094
ha_advertise_address = ${POD_IP}:9094
ha_peer_timeout = 15s
8. What if the cluster port is blocked between instances?
Use Redis instead of memberlist gossip. Set ha_redis_address, and turn on cluster or sentinel mode with the matching settings if you use them. Give each Grafana deployment a unique ha_redis_prefix when several share one Redis. TLS settings exist for Grafana-to-Redis traffic.
9. On-call got the same page twice. What do you check?
First confirm that all instances can reach each other on the cluster port and that ha_peers lists every instance. Then look at ha_peer_timeout, which defaults to 15 seconds. Across regions or on slow links it may need to be raised, otherwise instances do not wait long enough for the peer that already sent the page. Also explain that the gossip model chooses availability over consistency, so an occasional duplicate can still happen. If the business needs strict deduplication, the docs recommend sending to a shared external Alertmanager.
10. How do you reduce evaluation load?
Set ha_single_node_evaluation = true. Only one instance then evaluates rules, which saves database and data source load. It needs memberlist or Redis clustering to be configured, because the instances still have to agree on who is evaluating.
Grafana as code
11. How do you provision data sources and dashboards from files?
Grafana reads YAML files from the provisioning directory. Data source files contain a datasources list and can use deleteDatasources and prune. Dashboard files contain a providers list, and each provider points at a directory of dashboard JSON. Plugin app settings go in provisioning/plugins. Alerting resources have their own provisioning guide.
apiVersion: 1
providers:
- name: platform-dashboards
orgId: 1
type: file
disableDeletion: true
updateIntervalSeconds: 30
allowUiUpdates: false
options:
path: /var/lib/grafana/dashboards
foldersFromFilesStructure: true
12. What do allowUiUpdates and disableDeletion do?
allowUiUpdates lets users save changes to a provisioned dashboard in the UI. Those changes go to the database and are not written back to the file, so the next file update can overwrite them. That is why many teams leave it off. disableDeletion stops Grafana from deleting a dashboard when its file disappears, which protects you from a bad sync that empties the folder.
13. How does updateIntervalSeconds behave?
It sets how often Grafana checks for changes. Values above 10 cause polling. Values of 10 or less use file system watch events. On network file systems where watch events are unreliable, polling is the safer choice.
14. How do environment variables work in provisioning files?
Use $ENV_VAR_NAME or ${ENV_VAR_NAME} for values, not for keys or whole blocks. Interpolation works in the provisioning config but not inside dashboard JSON files. Write $$ to keep a literal dollar sign, which matters for passwords that contain one.
15. What is Git Sync and when would you choose it?
Git Sync connects Grafana to a Git repository on GitHub, GitLab, Bitbucket or another Git host so dashboards are stored and changed as code. It became generally available in April 2026 for Grafana Cloud and self-managed users. I would choose it when teams want to edit in the Grafana UI and still review changes as pull requests. File provisioning suits a platform team that ships dashboards with its deployment. There was a migration bug in 13.0.0 for users upgrading from 12 with Git Sync enabled, and the docs say to restore the database if data was lost, so I would take a backup before that upgrade.
16. How do you decide between file provisioning, Git Sync and Terraform?
File provisioning is simple and works offline, but UI edits are lost or blocked. Git Sync keeps the Git repo as the record and supports UI editing with review. Terraform fits when Grafana objects are created alongside the cloud resources they watch, such as a data source for a new database. Many teams combine them: Terraform for data sources and folders, Git Sync or files for dashboards. The point an interviewer wants is that one system owns each object, so two tools never fight over the same dashboard.
Upgrades, access and governance
17. What changed in Grafana 13 that affects operators?
Dynamic dashboards became generally available and are on by default, and existing dashboards migrate when they are opened. The option to turn off the Scenes dashboard architecture was removed. The grafana-cli and grafana-server commands were removed. Check any scripts and container entrypoints that call them. Image Renderer plugin support was removed, which affects screenshots and scheduled reports. The /api path is deprecated in favor of /apis. Any of these can break automation, so read the breaking changes page before the upgrade.
18. How would you plan a major upgrade?
Back up the database, read the breaking changes, and upgrade a staging copy that uses a recent copy of production data. Test provisioning, alert rules, plugins, authentication and any scripts that call the API. Then roll out one instance at a time if the version notes allow mixed versions, or schedule a short window if they do not. Keep the previous image and the database backup until alerting has run cleanly for a while.
19. How do you keep fifty teams from editing each other's dashboards?
Give each team a folder, grant edit rights on that folder to the team only, and keep viewer access wider. Use organizations only when teams must be fully isolated, because organizations do not share dashboards or data sources. Put shared dashboards in a folder owned by the platform team and provision them so nobody edits them by hand.
20. How do you find slow dashboards?
Start from the dashboard that users complain about and use the query inspector to see query time and data size. Common causes are too many panels firing queries at load, high-cardinality queries, and short refresh intervals on wide time ranges. Fixes include fewer panels per dashboard, recording rules in Prometheus for heavy expressions, and longer minimum intervals.
Scenario questions
21. Scenario: Grafana went down during an incident and nobody could see dashboards.
The immediate fix is to restore the service. The lasting fix is HA: a second server, a shared database with its own failover, and a load balancer health check. I would also ask whether alerting depended on that single instance. If it did, alerts were lost too, so alerting HA or an external Alertmanager belongs in the same change.
22. Scenario: a dashboard keeps reverting after people edit it.
It is provisioned. Either allowUiUpdates is true and the file update overwrote the database copy, or the editor saved a copy that nobody noticed. The fix is to agree on one owner: either move it out of provisioning, or require changes through the repository.
23. Scenario: after moving to Kubernetes, alert notifications doubled.
The instances probably cannot gossip. Check that port 9094 is open over TCP and UDP between pods, that a headless service lets pods find each other, and that the advertise address is the pod IP. If network policy blocks gossip, switch to Redis.
How to practise
Run two Grafana containers behind a small reverse proxy with a PostgreSQL container, turn on alerting HA, and create one alert rule. Kill one container and check that the alert still fires once. Then add file provisioning for one dashboard and one data source, and repeat with Git Sync on a test repository. For alert routing on the Prometheus side, our Alertmanager interview preparation guide pairs well with this page, and the Prometheus and Grafana together guide covers the basics. For more scenarios, see Grafana scenario-based questions.
Our Prometheus and Grafana training includes HA and alerting labs. It runs in our Kharadi, Pune classroom and live online for learners in other cities.
Frequently asked questions
What database should Grafana use in production?
A shared MySQL or PostgreSQL database that is itself highly available. The default SQLite file cannot be shared between servers.
Does Grafana HA need sticky sessions?
No. Grafana uses database-backed auth tokens by default, so any server can serve any user.
Why do I still see an occasional duplicate alert in HA?
The gossip-based deduplication favors availability over consistency. For strict deduplication, send notifications to a shared external Alertmanager.
What port does Grafana alerting HA use?
The docs use port 9094 for the peers listed in ha_peers. Allow it between all instances.
Is Git Sync generally available?
Yes. Grafana lists Git Sync as generally available since April 2026 for Grafana Cloud and self-managed instances.
Which commands were removed in Grafana 13?
The grafana-cli and grafana-server commands. Update scripts and container entrypoints that still call them.
Is there an official Grafana certification?
We could not confirm one on Grafana Labs' own website, so we do not describe any exam here. Check grafana.com directly if a job asks for one.
References
What's Your Reaction?
Like
0
Dislike
0
Love
0
Funny
0
Angry
0
Sad
0
Wow
0