Monitor PostgreSQL databases with the Dynatrace Extension Framework to collect performance data and understand database impact on your applications.
Designate an ActiveGate group or groups that will remotely connect to your PostgreSQL database server to pull data. All ActiveGates in each group must connect to your PostgreSQL database server.
For self-hosted Postgres:
For cloud-managed Postgres services:
Create a dedicated database user in your database instance. Dynatrace uses this user to run monitoring queries against your PostgreSQL database.
CREATE USER dynatrace WITH PASSWORD '<PASSWORD>' INHERIT;
To set up and activate the extension, go to
Databases and follow these steps for each instance.
Databases.Select a hosting type from the options. This choice determines which script generates the necessary database objects later in the process.
Set up the connection to your database instance. Provide the required credentials directly in the wizard or use secure alternatives:
dynatrace monitoring user you created directly or use secure alternatives.
Run the provided script to create the necessary objects on the database instance. The agent requires these objects to collect monitoring data.
You must run this script to retrieve metrics from the database. To learn more, refer to the helper function details in the install the instance section.
Recommended
After running the creation script, run the validation script to confirm all required objects were created. This ensures the monitoring setup will work as expected.
Databases app and select the Explorer tab.Learn more about PostgreSQL monitoring in these use cases.
Feature sets restrict which metrics are collected when you activate the extension.
For complete details, go to the FAQ section.
Databases