Oracle Cloud Infrastructure · JSON Structure

Monitoring Metric Data Structure

Aggregated metric data points.

Type: object Properties: 5
Cloud ComputingEnterprise CloudInfrastructure as a ServiceOraclePlatform as a Service

MetricData is a JSON Structure definition published by Oracle Cloud Infrastructure, describing 5 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

namespace name compartmentId dimensions aggregatedDatapoints

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/oracle-cloud/refs/heads/main/json-structure/monitoring-metric-data-structure.json",
  "name": "MetricData",
  "description": "Aggregated metric data points.",
  "type": "object",
  "properties": {
    "namespace": {
      "type": "string",
      "example": "oci_computeagent"
    },
    "name": {
      "type": "string",
      "example": "CpuUtilization"
    },
    "compartmentId": {
      "type": "string",
      "example": "ocid1.resource.oc1.iad.abcdefg123456"
    },
    "dimensions": {
      "type": "object",
      "example": {
        "key1": "value1"
      }
    },
    "aggregatedDatapoints": {
      "type": "array",
      "example": "[{'timestamp': '2026-04-18T10:30:00Z', 'value': 42.5}]",
      "items": {
        "type": "object"
      }
    }
  }
}