- Documentation
Volcengine Managed Service for Prometheus
Integration Guide
Prometheus ecosystem integration
Exporter integration
PostgreSQL exporter integration
Exporter integration
PostgreSQL exporter integration
PostgreSQL exporter integration
Volcengine Managed Service for Prometheus (VMP) monitors the operational status of PostgreSQL by using the exporter. This topic describes how to deploy postgres-exporter in a cluster and monitor PostgreSQL.
Prerequisites
- A Volcano Engine root user has been created, and VKE has been activated.
- The VKE cluster has been integrated with VMP. For details, see VKE integration.
- Grafana has been deployed and integrated with the workspace.
Procedure
Step 1: Use a secret to configure the PostgreSQL password
- Log in to the VKE console.
- Click Cluster in the left navigation pane.
- On the cluster list page, click the name of the cluster that you want to configure.
- In the left navigation pane of the cluster details page, click Configurations > Secret. On the page that appears, click Create with Yaml to configure a secret.
Step 2: Deploy postgres-exporter
- In the left navigation pane of the cluster details page, click Workload > Deployment.
- Click Create with Yaml to deploy postgres-exporter.
Step 3: Configure a collection rule
- In the left navigation pane of the cluster details page, click Workload > Resource Explorer.
- Click Create with Yaml to configure a collection rule by using PodMonitor.
- Select Custom from the Type list.
- Enter the YAML configuration in the Yaml field.
Validate results
- Execute the following command to configure Grafana port forwarding:
- Open a browser in your local environment (Linux/Mac), paste localhost:3000 into the address bar, and then press Enter to go to the Grafana login page. Log in to Grafana by using the default username admin and password admin.
-
- Create a dashboard to view the information about PostgreSQL metrics.
-
tip
For detailed parameters of postgres-exporter, refer to .
Last updated: 2026.10.10 10:16:50