vCenter Server provides statistics on several types of storage.

For example, you can query statistics about inventory storage, transaction log, and vCenter Server tasks. Many of these statistics are available both for storage consumed and storage available.

This task provides data for system administrators who need to monitor storage consumption in the guest operating system of vCenter Server.


Verify that you have authenticated and created a client session.


  1. Prepare a request for database usage statistics.

    Include metric IDs for each data type you want to monitor.

  2. Issue the request to the API endpoint.
  3. Process the resulting data points as needed.
  4. Format and print the results.