Skip to content

Commit b1edc3d

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 68baeaf of spec repo
1 parent 79b5164 commit b1edc3d

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143143,7 +143143,10 @@ paths:
143143143143
- metrics_read
143144143144
/api/v2/metrics/config/bulk-tags:
143145143145
delete:
143146+
deprecated: true
143146143147
description: |-
143148+
**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.
143149+
143147143150
Delete all custom lists of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics.
143148143151
Metrics are selected by passing a metric name prefix.
143149143152
Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app.
@@ -143214,8 +143217,12 @@ paths:
143214143217
operator: OR
143215143218
permissions:
143216143219
- metric_tags_write
143220+
x-sunset: "2027-01-01"
143217143221
post:
143222+
deprecated: true
143218143223
description: |-
143224+
**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.
143225+
143219143226
Create and define a list of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics.
143220143227
Metrics are selected by passing a metric name prefix. Use the Delete method of this API path to remove tag configurations.
143221143228
Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app.
@@ -143294,6 +143301,7 @@ paths:
143294143301
operator: OR
143295143302
permissions:
143296143303
- metric_tags_write
143304+
x-sunset: "2027-01-01"
143297143305
/api/v2/metrics/tag-indexing-rules:
143298143306
get:
143299143307
description: List tag indexing rules for an org, sorted by `rule_order`, with offset/limit pagination.

src/datadogV2/api/api_metrics.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,8 @@ impl MetricsAPI {
588588
Self { config, client }
589589
}
590590

591+
/// **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.
592+
///
591593
/// Create and define a list of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics.
592594
/// Metrics are selected by passing a metric name prefix. Use the Delete method of this API path to remove tag configurations.
593595
/// Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app.
@@ -619,6 +621,8 @@ impl MetricsAPI {
619621
}
620622
}
621623

624+
/// **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.
625+
///
622626
/// Create and define a list of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics.
623627
/// Metrics are selected by passing a metric name prefix. Use the Delete method of this API path to remove tag configurations.
624628
/// Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app.
@@ -1249,6 +1253,8 @@ impl MetricsAPI {
12491253
}
12501254
}
12511255

1256+
/// **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.
1257+
///
12521258
/// Delete all custom lists of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics.
12531259
/// Metrics are selected by passing a metric name prefix.
12541260
/// Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app.
@@ -1277,6 +1283,8 @@ impl MetricsAPI {
12771283
}
12781284
}
12791285

1286+
/// **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.
1287+
///
12801288
/// Delete all custom lists of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics.
12811289
/// Metrics are selected by passing a metric name prefix.
12821290
/// Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app.

0 commit comments

Comments
 (0)