Datadog · JSON Structure

Datadog Metrics Metric Resource Structure

A resource (such as a host or service) associated with a metric series

Type: object Properties: 2 Required: 2
AnalyticsDashboardsMonitoringPlatformT1Visualizations

MetricResource is a JSON Structure definition published by Datadog, describing 2 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

name type

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/datadog/refs/heads/main/json-structure/datadog-metrics-metric-resource-structure.json",
  "name": "MetricResource",
  "description": "A resource (such as a host or service) associated with a metric series",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the resource (e.g., hostname or service name)",
      "example": "Example Monitor"
    },
    "type": {
      "type": "string",
      "description": "The type of the resource (e.g., host, service, container)",
      "example": "metric alert"
    }
  },
  "required": [
    "name",
    "type"
  ]
}