Grafana Architecture

Grafana Architecture An architecture diagram generated by Archify. Users · Web Browser · API Client · Architecture component Users Web Browser · API Client Frontend · React · Grafana Server Frontend React Backend · Go · Grafana Server Backend Go Plugin System · Data source integration · Grafana Server Plugin System Data source integration Alerting Engine · Rule evaluation · Grafana Server Alerting Engine Rule evaluation PostgreSQL / MySQL · Config · auth sessions · Storage PostgreSQL / MySQL Config · auth sessions Optional query cache · Enterprise / Cloud · Storage Optional query cache Enterprise / Cloud Data Sources · Metrics · logs · traces · Architecture component Data Sources Metrics · logs · traces Notification Channels · Slack · PagerDuty · Email · Webhook · Architecture component Notification Channels Slack · PagerDuty · Email · Webhook HTTPS API Query Persist Optional Fetch Send alerts Grafana Server Storage Legend Frontend Backend Database External

Grafana Server

  • • Serve UI and API requests
  • • Shared DB: config and sessions
  • • HA needs DB and alert peers

Data Sources

  • • Backends retain metrics, logs and traces
  • • Correlation needs matching UIDs and labels

Alerting

  • • Evaluate rules and route notifications
  • • Configure HA deduplication separately