Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143143,7 +143143,10 @@ paths:
- metrics_read
/api/v2/metrics/config/bulk-tags:
delete:
deprecated: true
description: |-
**Note**: This endpoint is deprecated. Use [Tag Indexing Rules](/api/latest/metrics/#create-a-tag-indexing-rule) (`POST /api/v2/metrics/tag-indexing-rules`) instead.

Delete all custom lists of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics.
Metrics are selected by passing a metric name prefix.
Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app.
Expand Down Expand Up @@ -143214,8 +143217,12 @@ paths:
operator: OR
permissions:
- metric_tags_write
x-sunset: "2027-01-01"
post:
deprecated: true
description: |-
**Note**: This endpoint is deprecated. Use [Tag Indexing Rules](/api/latest/metrics/#create-a-tag-indexing-rule) (`POST /api/v2/metrics/tag-indexing-rules`) instead.

Create and define a list of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics.
Metrics are selected by passing a metric name prefix. Use the Delete method of this API path to remove tag configurations.
Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app.
Expand Down Expand Up @@ -143294,6 +143301,7 @@ paths:
operator: OR
permissions:
- metric_tags_write
x-sunset: "2027-01-01"
/api/v2/metrics/tag-indexing-rules:
get:
description: List tag indexing rules for an org, sorted by `rule_order`, with offset/limit pagination.
Expand Down
8 changes: 8 additions & 0 deletions src/datadogV2/api/api_metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,8 @@ impl MetricsAPI {
Self { config, client }
}

/// **Note**: This endpoint is deprecated. Use [Tag Indexing Rules](/api/latest/metrics/#create-a-tag-indexing-rule) (`POST /api/v2/metrics/tag-indexing-rules`) instead.
///
/// Create and define a list of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics.
/// Metrics are selected by passing a metric name prefix. Use the Delete method of this API path to remove tag configurations.
/// Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app.
Expand Down Expand Up @@ -619,6 +621,8 @@ impl MetricsAPI {
}
}

/// **Note**: This endpoint is deprecated. Use [Tag Indexing Rules](/api/latest/metrics/#create-a-tag-indexing-rule) (`POST /api/v2/metrics/tag-indexing-rules`) instead.
///
/// Create and define a list of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics.
/// Metrics are selected by passing a metric name prefix. Use the Delete method of this API path to remove tag configurations.
/// Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app.
Expand Down Expand Up @@ -1249,6 +1253,8 @@ impl MetricsAPI {
}
}

/// **Note**: This endpoint is deprecated. Use [Tag Indexing Rules](/api/latest/metrics/#create-a-tag-indexing-rule) (`POST /api/v2/metrics/tag-indexing-rules`) instead.
///
/// Delete all custom lists of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics.
/// Metrics are selected by passing a metric name prefix.
/// Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app.
Expand Down Expand Up @@ -1277,6 +1283,8 @@ impl MetricsAPI {
}
}

/// **Note**: This endpoint is deprecated. Use [Tag Indexing Rules](/api/latest/metrics/#create-a-tag-indexing-rule) (`POST /api/v2/metrics/tag-indexing-rules`) instead.
///
/// Delete all custom lists of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics.
/// Metrics are selected by passing a metric name prefix.
/// Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app.
Expand Down
Loading