CloudZero · Schema

MetricTelemetryRecord

BudgetsCloud Cost ManagementCost AllocationCost OptimizationFinOpsTelemetryUnit Economics

Properties

Name Type Description
timestamp string Timestamp for the telemetry record.
value number Numeric value for the metric.
granularity string Time granularity of the record.
filter object Key-value pairs for filtering and grouping.
View JSON Schema on GitHub

JSON Schema

cloudzero-metrictelemetryrecord-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/MetricTelemetryRecord",
  "title": "MetricTelemetryRecord",
  "type": "object",
  "properties": {
    "timestamp": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp for the telemetry record."
    },
    "value": {
      "type": "number",
      "format": "double",
      "description": "Numeric value for the metric."
    },
    "granularity": {
      "type": "string",
      "enum": [
        "HOURLY",
        "DAILY",
        "MONTHLY"
      ],
      "description": "Time granularity of the record."
    },
    "filter": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Key-value pairs for filtering and grouping."
    }
  },
  "required": [
    "timestamp",
    "value",
    "granularity"
  ]
}