Amazon Managed Service for Prometheus data source
The Amazon Managed Service for Prometheus data source plugin lets you query and visualize metrics from Amazon Managed Service for Prometheus in Grafana. Amazon Managed Service for Prometheus (AMP) is a Prometheus-compatible, fully managed service that monitors and provides alerts on containerized applications and infrastructure at scale.
This plugin includes all the features of the core Grafana Prometheus data source, with AWS-specific Signature Version 4 (SigV4) authentication built into the configuration page.
Supported features
The following table lists the features that the Amazon Managed Service for Prometheus data source supports.
Requirements
Before you use the Amazon Managed Service for Prometheus data source, ensure you have the following:
- A supported version of Grafana. This plugin requires Grafana
>=11.6.11 <12,>=12.0.10 <12.1,>=12.1.7 <12.2, or>=12.2.5. If you run Grafana 11.4.x or earlier, use plugin version 1.0.5. - An Amazon Managed Service for Prometheus workspace and its query endpoint URL.
- AWS credentials or an IAM role with permission to query the workspace.
Get started
The following topics help you get started with the data source:
- Install the Amazon Managed Service for Prometheus plugin
- Configure the Amazon Managed Service for Prometheus data source
- Amazon Managed Service for Prometheus query editor
- Template variables
- Annotations
- Alerting
- Troubleshooting
To install the plugin and add the data source:
- Install the plugin.
- Add a new data source in the UI or provision one.
- Configure the data source.
- Start querying your metrics.
Migrate from core Prometheus to Amazon Managed Service for Prometheus
SigV4 authentication is deprecated in the core Prometheus data source. If you use the core Prometheus data source with SigV4 authentication, migrate to the Amazon Managed Service for Prometheus data source.
In Grafana 13, this migration is automatic. Data sources that use SigV4 authentication are migrated to the Amazon Managed Service for Prometheus plugin on startup, and your dashboards, alerts, and queries continue to work without changes. For migration steps, how to check migration status, and rollback instructions, refer to Migrate from Prometheus SigV4 to Amazon Managed Service for Prometheus.
Update dashboards and alerts
If you add a new Amazon Managed Service for Prometheus data source instead of relying on the automatic migration, update your existing dashboards and alert rules to use the new data source:
- Get the
UIDof your existing Prometheus data source that uses SigV4. - Get the
UIDof your new Amazon Managed Service for Prometheus data source. - Update dashboards to use the new data source
UID. - Update alert rules. Export the provisioning files and update the data source in the model, or create new alert rules.
- Recreate any correlations.
- Recreate any recorded queries.
Pre-built dashboards
The plugin includes the following pre-built dashboards that you can import to monitor Prometheus and Grafana itself:
- Prometheus Stats
- Prometheus 2.0 Stats
- Grafana Stats
To import a pre-built dashboard:
- Click Connections in the left-side menu.
- Under Connections, click Data sources.
- Select your Amazon Managed Service for Prometheus data source.
- Click the Dashboards tab.
- Click Import next to the dashboard you want to use.
Additional features
After you configure the data source, you can:
- Use Explore to query data without building a dashboard.
- Add transformations to manipulate query results.
- Set up alerting rules.
Plugin updates
Always ensure that your plugin version is up-to-date so you have access to all current features and improvements. Navigate to Plugins and data > Plugins to check for updates. Grafana recommends upgrading to the latest Grafana version, and this applies to plugins as well.
Note
Plugins are automatically updated in Grafana Cloud.


