// See everything. Know everything.
DATA WITHOUT VISUALIZATION IS JUST NOISE.
Grafana transforms your metrics into beautiful, actionable dashboards. Watch your systems in real-time, spot anomalies, and make data-driven decisions.
ONE DASHBOARD TO RULE THEM ALL.
From server metrics to application performance, from IoT sensors to financial data—Grafana connects to virtually any data source and makes sense of it all.
Click a lesson to begin
What is Grafana? Installation and first login.
BeginnerConnect to Prometheus, InfluxDB, MySQL, and more.
BeginnerCreate panels, add queries, and organize dashboards.
BeginnerGraph, stat, gauge, table, heatmap, and more.
BeginnerTemplate variables, filters, and dynamic dashboards.
IntermediateSet up alerts and send notifications via email, Slack, PagerDuty.
IntermediateQuery PromQL, explore metrics, and build custom dashboards.
IntermediateMark events on graphs. Correlate metrics with incidents.
IntermediateExtend Grafana. Transform data for complex visualizations.
AdvancedTeams, permissions, organization, and authentication.
AdvancedConfigure Grafana as code. Dashboards, datasources, and alerts.
AdvancedPerformance, security, and dashboard design patterns.
AdvancedGrafana is an open-source platform for monitoring and observability. It connects to multiple data sources and creates interactive, beautiful dashboards.
# Debian/Ubuntu sudo apt-get install -y apt-transport-https software-properties-common wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add - echo "deb https://packages.grafana.com/oss/deb stable main" | sudo tee /etc/apt/sources.list.d/grafana.list sudo apt-get update && sudo apt-get install grafana # Start service sudo systemctl start grafana-server sudo systemctl enable grafana-server
Navigate to http://localhost:3000 and login with admin/admin.
1. What is Grafana used for?
# In Grafana: URL: http://localhost:9090 Access: Server (default) Auth: None (for local) # Click Save & Test
1. Where do you add data sources in Grafana?
# For Prometheus: up # This returns 1 if target is up, 0 if down
1. What query returns the uptime status in Prometheus?
Time series visualization. Best for metrics over time.
Single big number with optional sparkline.
Display current value on a gauge. Good for thresholds.
Tabular data. Transform query results.
Visualize density. Great for frequency data.
Display log entries. Filter and search.
1. Which panel is best for single values?
Variables make dashboards dynamic and reusable.
# Query: label_values(up, job) # This creates a dropdown of all job labels
# Use $variable in queries:
up{job="$job"}
# Or multi-select:
up{job=~"$job"}
1. What makes dashboards dynamic?
1. Where do you configure notification channels?
# All metrics
up
# With label filter
up{job="node"}
# Rate (per second)
rate(http_requests_total[5m])
# Sum by label
sum by (job) (up)
# Histogram quantile
histogram_quantile(0.95, rate(http_request_duration_seconds_bucket[5m]))
Use Explore (compass icon) to query data without creating dashboards.
1. What language does Prometheus use?
Annotations mark events on your graphs. They're perfect for showing deployments, incidents, or changes.
Query annotations from your data source:
# Example query for annotations SELECT time, title, text FROM events WHERE $__timeFilter(time)
1. What are annotations used for?
# Install via CLI grafana-cli plugins install# Or via UI # Configuration → Plugins → Install
Transform data before visualization:
1. How do you install plugins?
Separate teams or environments:
1. What permission can edit dashboards?
Configure Grafana as code. No manual setup needed.
# /etc/grafana/provisioning/datasources/prometheus.yml
apiVersion: 1
datasources:
- name: Prometheus
type: prometheus
access: proxy
url: http://localhost:9090
isDefault: true
# /etc/grafana/provisioning/dashboards/default.yml
apiVersion: 1
providers:
- name: 'Default'
folder: 'Dashboards'
type: file
options:
path: /var/lib/grafana/dashboards
1. What folder contains datasource configs?
You've completed the Grafana Mastery guide. You now understand:
Grafana is the open-source standard for observability. From startups to Fortune 500 companies, teams use Grafana to understand their systems.
Whether you're monitoring servers, applications, or business metrics, Grafana makes data actionable.
See everything. Know everything.