Last Updated: November 21, 2025
Grafana
Data visualization and monitoring
Core Concepts
| Item | Description |
|---|---|
Dashboard
|
Collection of panels |
Panel
|
Individual visualization |
Data Source
|
Backend data provider |
Query
|
Data retrieval expression |
Variable
|
Dynamic dashboard values |
Alert
|
Notification trigger |
Common Data Sources
| Item | Description |
|---|---|
Prometheus
|
Metrics time-series |
Loki
|
Log aggregation |
Elasticsearch
|
Full-text search |
InfluxDB
|
Time-series database |
MySQL/PostgreSQL
|
Relational databases |
Dashboard JSON Example
{
"dashboard": {
"title": "System Metrics",
"panels": [
{
"title": "CPU Usage",
"targets": [
{
"expr": "rate(process_cpu_seconds_total[5m])"
}
]
}
]
}
}
Best Practices
- Use variables for dynamic dashboards
- Organize panels in logical rows
- Set appropriate time ranges and refresh intervals
- Use alerting for critical metrics
💡 Pro Tips
Quick Reference
Use template variables to create reusable dashboards