ScriptsApr 10, 2026·3 min read

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.

TL;DR
Grafana connects to 100+ data sources and transforms metrics, logs, and traces into interactive dashboards.
§01

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.

§02

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.

§03

How to use

  1. Start Grafana with Docker:
docker run -d --name grafana -p 3000:3000 grafana/grafana-oss:latest
  1. Open http://localhost:3000 and login with admin/admin
  2. Add a data source (Prometheus, InfluxDB, PostgreSQL, etc.)
  3. Create a dashboard and add panels with queries
§04

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]))"
          }
        ]
      }
    ]
  }
}
§05

Related on TokRepo

§06

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

Is Grafana free to use?+

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.

What data sources does Grafana support?+

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.

How does Grafana alerting work?+

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.

Can Grafana visualize logs, not just metrics?+

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.

How do I share Grafana dashboards with my team?+

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)
🙏

Source & Thanks

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets