Amazon CloudWatch · JSON Structure

Cloudwatch Metric Structure

Represents a specific metric

Type: object Properties: 3
CloudWatchMonitoringObservabilityMetricsLogs

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

Properties

namespace metricName 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/amazon-cloudwatch/refs/heads/main/json-structure/cloudwatch-metric-structure.json",
  "name": "Metric",
  "description": "Represents a specific metric",
  "type": "object",
  "properties": {
    "namespace": {
      "type": "string",
      "description": "The namespace of the metric"
    },
    "metricName": {
      "type": "string",
      "description": "The name of the metric"
    },
    "dimensions": {
      "type": "array",
      "description": "The dimensions for the metric",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The name of the dimension"
          },
          "value": {
            "type": "string",
            "description": "The value of the dimension"
          }
        }
      }
    }
  }
}