Skip to content

Database monitoring on a VM

On a virtual machine, the agent monitors databases running on the host or reachable from it. For the general flow, see the Database monitoring overview.

  • Databases on the host: a database listening on the host is discovered and prefilled in the wizard.
  • Reachable remote databases: you can also monitor a database on another host by entering its endpoint and credentials in the wizard.

On a virtual machine, you can collect the full set of coverages, including database logs. See Engines and coverages.

A database on the host often listens on localhost. That address is not unique across your servers. So the agent identifies the database by the host’s routable address instead, which keeps its metrics and traces lined up. See Telemetry identity for how to build dashboards on a database’s server address.

  1. Open the wizard from a discovered database, or add one manually with its endpoint.

  2. Choose coverages for the depth you want. See Engines and coverages.

  3. Provide credentials for the monitoring user, using an environment reference by default. See Database credentials.

  4. Apply the setup steps the wizard shows, such as creating the monitoring role and granting it the right permissions.

  5. Save. The agent applies the configuration and starts collecting.