Documentation for automated readers
A curated documentation index is available at: https://grafana.com/llms.txt
A complete documentation index is available at: https://grafana.com/llms-full.txt
These indexes can help with page discovery before fetching individual documents.
This page is also available in Markdown, which may be easier for automated readers and AI tools to parse than HTML. The Markdown version is available at https://grafana.com/docs/grafana/latest/datasources/prometheus.md, or by sending Accept: text/markdown to https://grafana.com/docs/grafana/latest/datasources/prometheus/. For broader documentation discovery, the curated index is available at https://grafana.com/llms.txt and the complete index is available at https://grafana.com/llms-full.txt.
Prometheus data source
Prometheus is an open source monitoring system and time series database that scrapes and stores metrics used for monitoring and alerting.
Grafana includes built-in support for Prometheus, so you don’t need to install a plugin. Write queries using PromQL in the query editor, or use Metrics Drilldown to explore metrics without writing queries. The Prometheus data source also works with other projects that implement the Prometheus querying API, including Grafana Mimir and Thanos.
Supported features
| Feature | Supported |
|---|---|
| Metrics | Yes |
| Alerting | Yes |
| Annotations | Yes |
| Recording rules | Yes |
| Exemplars | Yes |
Get started
The following documents help you set up and use the Prometheus data source:
- Configure the Prometheus data source
- Prometheus query editor
- Template variables
- Annotations
- Alerting
- Troubleshooting
Additional features
After you configure the Prometheus data source, you can:
- Use Metrics Drilldown to browse and explore your Prometheus metrics without writing PromQL
- Use Explore to query data without building a dashboard
- Add transformations to manipulate query results
- Create recorded queries for pre-aggregated data
- Build a wide variety of visualizations
Cloud-managed Prometheus services
Note
In Grafana 13, the core Prometheus data source no longer supports SigV4 (AWS) or Azure AD authentication. These authentication methods have been migrated to dedicated plugins:
- Amazon Managed Service for Prometheus — Use the Amazon Managed Service for Prometheus data source. For migration details, refer to AWS authentication (deprecated).
- Azure Monitor Managed Service for Prometheus — Use the Azure Monitor Managed Service for Prometheus data source. For migration details, refer to Azure authentication (deprecated).
Existing data sources using these methods are automatically migrated on startup.
Related resources
Was this page helpful?
Related resources from Grafana Labs

