Grafana — Open Source Data Visualization & Observability
Grafana is the leading open-source platform for monitoring and observability. Visualize metrics, logs, and traces from Prometheus, Loki, Elasticsearch, and 100+ data sources.
What it is
Grafana is the leading open-source platform for monitoring, observability, and data visualization. It connects to virtually any data source -- Prometheus, InfluxDB, Elasticsearch, PostgreSQL, MySQL, Loki, and over 100 more -- and transforms raw metrics, logs, and traces into interactive dashboards.
Grafana is built for SREs, DevOps engineers, and data teams who need unified visibility across infrastructure, applications, and business metrics.
How it saves time or tokens
Grafana provides a single pane of glass for all your observability data. Instead of switching between Prometheus for metrics, Elasticsearch for logs, and Jaeger for traces, you query all of them from one dashboard. Alerting rules trigger notifications across Slack, PagerDuty, email, and webhooks, reducing the time from anomaly detection to response.
How to use
- Start Grafana with Docker:
docker run -d --name grafana -p 3000:3000 grafana/grafana-oss:latest
- Open
http://localhost:3000and login with admin/admin - Add a data source (Prometheus, InfluxDB, PostgreSQL, etc.)
- Create a dashboard and add panels with queries
Example
{
"dashboard": {
"title": "API Performance",
"panels": [
{
"title": "Request Rate",
"type": "timeseries",
"targets": [
{
"expr": "rate(http_requests_total[5m])",
"legendFormat": "{{method}} {{path}}"
}
]
},
{
"title": "P99 Latency",
"type": "timeseries",
"targets": [
{
"expr": "histogram_quantile(0.99, rate(http_request_duration_seconds_bucket[5m]))"
}
]
}
]
}
}
Related on TokRepo
- Monitoring tools — observability and monitoring resources
- DevOps tools — infrastructure management tools
Common pitfalls
- Creating too many panels per dashboard, which slows down loading and makes it hard to scan
- Not setting appropriate time ranges for queries, leading to excessive data retrieval
- Using Grafana as a long-term data store instead of configuring proper retention in the underlying data source
Frequently Asked Questions
Grafana OSS is free and open-source under AGPL-3.0. Grafana Cloud offers a free tier with 10K metrics and 50GB logs. Grafana Enterprise adds features like RBAC, reporting, and enterprise plugins for a paid license.
Grafana supports over 100 data sources including Prometheus, InfluxDB, Elasticsearch, PostgreSQL, MySQL, Loki, Jaeger, Tempo, CloudWatch, BigQuery, and many more through official and community plugins.
Grafana evaluates alert rules against your data sources at configurable intervals. When a threshold is breached, it sends notifications to configured contact points: Slack, PagerDuty, email, webhooks, and others.
Yes. With Loki as a data source, Grafana provides a log exploration interface similar to Kibana. You can correlate logs with metrics on the same dashboard, clicking from a metric spike to related log entries.
Export dashboards as JSON and import them in another instance. Use Grafana Cloud or the dashboard provisioning system to manage dashboards as code in version control. Public dashboards can be shared via URL without authentication.
Citations (3)
- Grafana GitHub— Grafana open-source observability platform
- Grafana Documentation— 100+ data source plugins
- Grafana Loki— Grafana Loki for log aggregation
Related on TokRepo
Source & Thanks
- GitHub: grafana/grafana — 73.1K+ ⭐ | AGPL-3.0
- Website: grafana.com
Discussion
Related Assets
Moodle — Open-Source Learning Management System
The most widely used open-source learning platform, providing course management, assessments, and collaboration tools for educators and organizations worldwide.
Sylius — Headless E-Commerce Framework on Symfony
An open-source headless e-commerce platform built on Symfony and API Platform, designed for developers who need a customizable and API-first commerce solution.
Akaunting — Free Self-Hosted Accounting Software
A free, open-source online accounting application built on Laravel for small businesses and freelancers to manage invoices, expenses, and financial reports.