AWS CloudWatch · Schema

Metric

Represents a specific metric.

AlarmsAwsDashboardsLogsMetricsMonitoringObservability

Properties

Name Type Description
Namespace string The namespace of the metric.
MetricName string The name of the metric.
Dimensions array The dimensions for the metric.
View JSON Schema on GitHub

JSON Schema

cloudwatch-metric-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Metric",
  "type": "object",
  "description": "Represents a specific metric.",
  "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."
    }
  }
}