How to Manage Usage for Vultr Managed Apache Kafka®

Updated on October 16, 2024

Vultr Managed Apache Kafka® enables users to view key metrics for their database, including General Usage, vCPU Usage, Disk Operations, and Network activity. This clear and organized interface allows customers to track their resource consumption over time, helping them optimize performance and manage costs effectively. Users can easily access detailed usage statistics to make informed decisions about scaling and resource allocation.

Follow this guide to manage usage for Vultr Managed Apache Kafka® with Vultr Customer Portal, API, and CLI.

  • Vultr Customer Portal
  • Vultr API
  • Vultr CLI
  1. Navigate to Products and select Databases.

    Database selection products menu

  2. Select the target database.

    Selecting a target database

  3. Navigate to Usage Graphs.

    Open the usage graphs page

  4. View the General Usage, vCPU Usage, Disk Operations, and Network.

    View the overall usage stats

  1. List all the databases by sending a GET request to the List Managed Databases endpoint and note the target database's ID.

    console
    $ curl "https://api.vultr.com/v2/databases" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    
  2. Send a GET request to the Get Database Usage Information endpoint to get the overall usage information of the target database.

    console
    $ curl "https://api.vultr.com/v2/databases/{database-id}/usage" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    
  1. List all databases and note the target database's ID.

    console
    $ vultr-cli database list --summarize
    
  2. Get the usage information of the target database.

    console
    $ vultr-cli database usage get <database-id>