Credit consumption and usage insights
CDP includes a user interface that allows you to monitor your credit consumption and download your consumption records.
CDP displays consumption data in terms of credits. A credit is a unit of consumption in CDP corresponding 1 to 1 to local currency with which it was purchased. For example, if you pay $1000, you receive 1000 credits. DIscounts do not affect the number of credits purchased. If the full price for 1000 credits is $1000 but you receive a discount and only pay $900, you still receive 1000 credits.
Required roles: BillingAdmin
In order to access this UI, navigate to the CDP web interface, click on the Management Console tile and select Consumption from the navigation pane.
Select a date range.
By default, consumption summary is shown for all environments. You can optionally select a specific environment.
Under Services, you can select a specific service and then under Clusters per Services, you can see a number of credits used by a given cluster and the number of hours the cluster was running.
Download consumption summary from CDP web interface
Use the Download Usage Details button to download the consumption data:
Download consumption summary from CDP CLI
cdp consumption list-compute-usage-recordscommand to download the consumption data. For example:
cdp consumption list-compute-usage-records \ --from-timestamp '2023-02-05T00:00:00Z' \ --to-timestamp '2023-02-07T00:00:00Z'
You can optionally set page size and page token.
To set page size (the number of records you want on one page), add the
To set page token (which signifies which page you would like in the response), add
--starting-token <value>. You will get the starting token for next page in
the response of the previous page.