v1
latestOpenAPI 3.0.02026-07-141,4077,1665.2 MBMetrics
Get a tag indexing rule exemption
Returns why a metric is excluded from tag indexing rules. Returns 200 with kind=exemption when an explicit exemption exists, 200 with kind=legacy_tag_configuration when the metric has a legacy tag configuration acting as an implicit exclusion, or 404 when neither applies.
get/api/v2/metrics/{metric_name}/tag-indexing-rule-exemptions
Path parameters
metric_namestring required
The name of the metric.
Response
OK
Example response
{
"data": {
"attributes": {
"created_at": "2024-01-15T12:00:00.000Z",
"created_by_handle": "user@datadoghq.com",
"kind": "exemption",
"reason": "This metric has a pre-existing tag configuration."
},
"id": "dd.test.metric",
"type": "tag_indexing_rule_exemptions"
}
}