Docs
Grafana Setup
Connect dbaBrain to your Grafana instance for dashboard data.
Overview
dbaBrain can query Grafana dashboards to pull PostgreSQL metric panels. This is useful if you have custom Grafana dashboards with PostgreSQL metrics from various data sources.
Configuration
textGrafana URL: https://your-grafana:3000 API Token: create a Service Account token with Viewer role Dashboard IDs: comma-separated list of dashboard UIDs to import
How It Works
- -dbaBrain queries the Grafana API to list panels on your dashboards
- -For each panel with PostgreSQL data, we extract the underlying queries
- -Metrics are imported into Sage's context model
- -Sage can reference your Grafana panels in its analysis
Grafana integration is read-only. dbaBrain never modifies your dashboards.