Monitoring self-managed deployments

To monitor self-managed external Postgres instances from the PG AI Hybrid Manager that are deployed on bare metal or virtual machines, you must first install the PG AI Agent. The agent provides monitoring and observability metrics to your PG AI Hybrid Manager.

On completing this guide you will have Monitoring, Query Diagnostics and Recommendations for your self-managed Postgres instance.

  1. Create an OS user to run the Agent
  2. Prepare your database
  3. Create a machine user
  4. Install the Agent
  5. Configure the Agent
  6. Run the Agent
  7. Configure the Agent to run as a service
Note

To leverage full observability capabilities, EDB recommends deploying one Agent per host machine with self-managed database clusters. Then, you can configure the Agent on that host to connect to each database with a dedicated DSN string. Details on DSN configuration are provided in the Agent configuration section.

For extra help with the necessary administrative tasks needed to configure the agent, see Administrative tasks.

See Troubleshooting for help with general troubleshooting and Data security and sovereignity to understand how your data is stored by the Agent.

Create an OS user

Learn how to create a dedicated OS user to run the agent with PG AI Hybrid Manager.

Prepare your database

Learn how to prepare your database for monitoring with PG AI Hybrid Manager.

Create a machine user

Learn how to create a machine user for monitoring with PG AI Hybrid Manager.

Install the Agent

Learn how to install and configure the agent to monitor databases with PG AI Hybrid Manager.

Configure the Beacon Agent

Learn how to configure the beacon agent for monitoring with PG AI Hybrid Manager.

Run the Agent

Learn how to run the agent when setting up monitoring with PG AI Hybrid Manager.

Configure Agent to run as a service

Learn how to run the agent as a service when setting up monitoring with PG AI Hybrid Manager.

Troubleshooting the Agent

Learn how to troubleshoot the agent when setting up monitoring with PG AI Hybrid Manager.

Administrative tasks

Learn administrative tasks for the beacon agent with PG AI Hybrid Manager.

Data security and sovereignty

Learn about data security and sovereignty for monitoring with PG AI Hybrid Manager.


Could this page be better? Report a problem or suggest an addition!