datadog_apm_retention_filter (Resource)

The object describing the configuration of the retention filter to create/update.

Example Usage

# Create APM retention filter
resource "datadog_apm_retention_filter" "foo" {
  name = "Sample order"
  rate = "1.0"
  filter {
    query = "*"
  }
  filter_type = "spans-sampling-processor"
  enabled     = false
}

Schema

Required

Optional

Read-Only

Nested Schema for filter

Optional:

Import

Import is supported using the following syntax:

# Import existing APM retention filter 
terraform import datadog_apm_retention_filter.foo <filter_id>