Graphite data source
Grafana includes built-in support for Graphite. This topic explains options, variables, querying, and other features specific to the Graphite data source, which include its feature-rich query editor.
For instructions on how to add a data source to Grafana, refer to the administration documentation.
Once you’ve added the Graphite data source, you can configure it so that your Grafana instance’s users can create queries in its query editor when they build dashboards and use Explore.
With Grafana Play, you can explore and see how it works, learning from practical examples to accelerate your development. This feature can be seen on Graphite: Sample Website Dashboard.
Grafana exposes metrics for Graphite on the /metrics
endpoint.
For detailed instructions, refer to
Internal Grafana metrics.
Get Grafana metrics into Graphite
Grafana exposes metrics for Graphite on the /metrics
endpoint.
Refer to
Internal Grafana metrics for more information.
Graphite and Loki integration
When you change the data source selection in
Explore, Graphite queries are converted to Loki queries.
Grafana extracts Loki label names and values from the Graphite queries according to mappings provided in the Graphite data source configuration. Grafana automatically transforms queries using tags with seriesByTags()
without requiring additional setup.
Get the most out of the data source
After installing and configuring the Graphite data source you can:
- Create a wide variety of visualizations
- Configure and use templates and variables
- Add transformations
- Add annotations
- Set up alerting