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.
What you can monitor
Section titled “What you can monitor”- 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.
How local databases are identified
Section titled “How local databases are identified”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.
Set up monitoring
Section titled “Set up monitoring”-
Open the wizard from a discovered database, or add one manually with its endpoint.
-
Choose coverages for the depth you want. See Engines and coverages.
-
Provide credentials for the monitoring user, using an environment reference by default. See Database credentials.
-
Apply the setup steps the wizard shows, such as creating the monitoring role and granting it the right permissions.
-
Save. The agent applies the configuration and starts collecting.