datadog_metric_metadata (Resource)

Provides a Datadog metric_metadata resource. This can be used to manage a metric's metadata.

Example Usage

# Manage a Datadog metric's metadata
resource "datadog_metric_metadata" "request_time" {
  metric      = "request.time"
  short_name  = "Request time"
  description = "99th percentile request time in milliseconds"
  type        = "gauge"
  unit        = "millisecond"
}

Schema

Required

Optional

Read-Only

Import

Import is supported using the following syntax:

terraform import datadog_metric_metadata.request_time request.time