Skip to content

Commit 30b2573

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit e69b138 of spec repo
1 parent bdbff03 commit 30b2573

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
@@ -140826,7 +140826,10 @@ paths:
140826140826
- metrics_read
140827140827
/api/v2/metrics/config/bulk-tags:
140828140828
delete:
140829+
deprecated: true
140829140830
description: |-
140831+
**Note**: This endpoint is deprecated. Use the `/api/v2/metrics/{metric_name}/tags` endpoint instead.
140832+
140830140833
Delete all custom lists of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics.
140831140834
Metrics are selected by passing a metric name prefix.
140832140835
Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app.
@@ -140897,8 +140900,12 @@ paths:
140897140900
operator: OR
140898140901
permissions:
140899140902
- metric_tags_write
140903+
x-sunset: "2027-01-01"
140900140904
post:
140905+
deprecated: true
140901140906
description: |-
140907+
**Note**: This endpoint is deprecated. Use the `/api/v2/metrics/{metric_name}/tags` endpoint instead.
140908+
140902140909
Create and define a list of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics.
140903140910
Metrics are selected by passing a metric name prefix. Use the Delete method of this API path to remove tag configurations.
140904140911
Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app.
@@ -140977,6 +140984,7 @@ paths:
140977140984
operator: OR
140978140985
permissions:
140979140986
- metric_tags_write
140987+
x-sunset: "2027-01-01"
140980140988
/api/v2/metrics/tag-indexing-rules:
140981140989
get:
140982140990
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 the `/api/v2/metrics/{metric_name}/tags` endpoint 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 the `/api/v2/metrics/{metric_name}/tags` endpoint 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 the `/api/v2/metrics/{metric_name}/tags` endpoint 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 the `/api/v2/metrics/{metric_name}/tags` endpoint 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)