Oracle Cloud Infrastructure · JSON Structure

Monitoring Metric Structure

A metric definition.

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

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

Properties

name namespace compartmentId dimensions

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-structure.json",
  "name": "Metric",
  "description": "A metric definition.",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "example": "CpuUtilization"
    },
    "namespace": {
      "type": "string",
      "example": "oci_computeagent"
    },
    "compartmentId": {
      "type": "string",
      "example": "ocid1.resource.oc1.iad.abcdefg123456"
    },
    "dimensions": {
      "type": "object",
      "example": {
        "key1": "value1"
      }
    }
  }
}