Calculate and visualize cloud costs per business unit with Vantage Unit Costs.
date
column must be in YYYY-MM-DD
format. The amount
column must be a number. The label
column is optional. See the section above for more information about labels.
Click to view visual example
AWS/
followed by the service name (e.g., AWS/EC2
).CPUUtilization
. For Amazon RDS, an example metric to track is WriteIOPS
or ReadIOPS
.InstanceId
with a value of i-1234567890abcdef0
. Each CloudWatch metric has a set of dimensions you can select. Click + Add a Dimension to add more than one dimension.Click to view visual example
billing_read
, usage_read
, metrics_read
, and timeseries_query scopes
).Click to view visual example
/business_metrics
endpoint to view, create, update, and delete business metrics.
POST
request to the /business_metrics
endpoint.
title
is a string that represents the business metric title (e.g., Requests
or CPUUtilization
).
cost_report_tokens_with_metadata
is an array of objects that represents one or more Cost Reports you want the business metric to be added to.
cost_report_token
is the unique token
for the Cost Report.cost_report_tokens
via the /cost_reports
endpoint.unit_scale
determines the scale of the business metric’s values within the Cost Report. It has a default value of per_unit
. Other options include per_hundred
, per_thousand
, per_million
, and per_billion
.values
is an array of objects that comprises the date
and amount
key/value pairs associated with each business metric data point.
date
needs to be in YYYY-MM-DD
format.amount
needs to be a number.label
is an optional field. See the section above for details.201
response, which includes the unique business metric token
. Dates in the response are displayed in ISO 8601 format.
PUT
request to the /business_metrics/{business_metric_token}
endpoint. In the below example, an additional month of data is added to the business metric that was previously created. The request url
includes the unique business metric token
, received in the response from the POST
call, to update the data.
201
response.
PUT
request to the /business_metrics/{business_metric_token}/values.csv
endpoint using the business metric’s token
. Specify a path to the CSV in the csv
parameter.
GET
request to the endpoint.
token
in the url
to get data for only one business metric.
amount
for that date
. Send a PUT
request to the /business_metrics/{business_metric_token}
endpoint using the business metric’s token
. In the below example, an existing amount is removed for March 10th.
DELETE
request to the /business_metrics
endpoint, and specify the token
for the business metric you want to delete in the url
.
DELETE
action is permanent, and you will no longer have access to that business metric or see it displayed on corresponding reports.app1
and app2
, the per unit cost calculation will be an aggregate of the corresponding values for those labels. If you select only app1
, then the per unit cost calculation will only apply to values that correspond with the app1
label.