Monitoring Vultr Managed Databases for Caching allows you to view monthly charges, vCPU, memory, and disk usage. Checking your managed database stats provides insight that can help you scale your database, detect performance issues, establish robust backup schedules, and more.
Follow this guide to monitor Vultr Managed Databases for Caching using Vultr Customer Portal, API, and CLI.
Navigate to Products and select Databases.
Click the target database instance.
View the database instance summary.
Click Usage Graphs to view vCPU usage.
View the Network usage.
List all the database instances by sending a GET
request to the List Managed Databases endpoint and note the database ID. For example, 43b4c774-5dff-4ac0-a01f-78a23c2205b5
.
$ curl "https://api.vultr.com/v2/databases" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Send a GET
request to the Get Database Usage Information endpoint and specify the database ID to retrieve the database instance usage information. The information includes disk, memory, and vCPU usage.
$ curl "https://api.vultr.com/v2/databases/database_id/usage" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Visit the Get Database Usage Information endpoint to view additional attributes to add to your request.
List all database instances and note the database ID. For instance, d6ac2a3c-92ea-43ef-8185-71a23e58ad8c
.
$ vultr-cli database list --summarize
List the database usage information by specifying a database ID.
$ vultr-cli database usage get database_id
Run vultr-cli database usage --help
to view all options.