CostSummary
Aggregated cloud-provider cost metrics for a project or environment.
Cost data is sourced from your cloud provider's billing APIs and refreshed periodically.
Each metric is a CostSample containing an amount and currency. All four metrics are
always present, but their inner amount and currency may be null if billing data has
not yet been ingested.
- last_month -- Total spend for the most recent complete billing cycle.
- monthly_average -- Average monthly spend across all available billing cycles.
- last_day -- Total spend for the most recent 24-hour period.
- daily_average -- Average daily spend over the last 7 days.
type CostSummary {
lastMonth: CostSample!
monthlyAverage: CostSample!
lastDay: CostSample!
dailyAverage: CostSample!
}
Fields
CostSummary.lastMonth ● CostSample! non-null object {#last-month}
Total cost for the most recent complete billing cycle.
CostSummary.monthlyAverage ● CostSample! non-null object {#monthly-average}
Average monthly cost across all available billing cycles.
CostSummary.lastDay ● CostSample! non-null object {#last-day}
Total cost for the most recent 24-hour period.
CostSummary.dailyAverage ● CostSample! non-null object {#daily-average}
Average daily cost over the last 7 days.
Member Of
Environment object ● Instance object ● Project object