Metric

A metric definition.

Cloud ComputingEnterprise CloudInfrastructure as a ServiceOraclePlatform as a Service

Properties

Name Type Description
name string
namespace string
compartmentId string
dimensions object
View JSON Schema on GitHub

JSON Schema

monitoring-metric-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/oracle-cloud/refs/heads/main/json-schema/monitoring-metric-schema.json",
  "title": "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"
      },
      "additionalProperties": {
        "type": "string"
      }
    }
  }
}