Skip to content

Commit e46931e

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 68baeaf of spec repo (#4232)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 612d81a commit e46931e

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
@@ -143665,7 +143665,10 @@ paths:
143665143665
- metrics_read
143666143666
/api/v2/metrics/config/bulk-tags:
143667143667
delete:
143668+
deprecated: true
143668143669
description: |-
143670+
**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.
143671+
143669143672
Delete all custom lists of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics.
143670143673
Metrics are selected by passing a metric name prefix.
143671143674
Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app.
@@ -143736,8 +143739,12 @@ paths:
143736143739
operator: OR
143737143740
permissions:
143738143741
- metric_tags_write
143742+
x-sunset: "2027-01-01"
143739143743
post:
143744+
deprecated: true
143740143745
description: |-
143746+
**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.
143747+
143741143748
Create and define a list of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics.
143742143749
Metrics are selected by passing a metric name prefix. Use the Delete method of this API path to remove tag configurations.
143743143750
Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app.
@@ -143816,6 +143823,7 @@ paths:
143816143823
operator: OR
143817143824
permissions:
143818143825
- metric_tags_write
143826+
x-sunset: "2027-01-01"
143819143827
/api/v2/metrics/tag-indexing-rules:
143820143828
get:
143821143829
description: List tag indexing rules for an org, sorted by `rule_order`, with offset/limit pagination.

api/datadogV2/api_metrics.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,17 @@ import (
1616
type MetricsApi datadog.Service
1717

1818
// CreateBulkTagsMetricsConfiguration Configure tags for multiple metrics.
19+
// **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.
20+
//
1921
// Create and define a list of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics.
2022
// Metrics are selected by passing a metric name prefix. Use the Delete method of this API path to remove tag configurations.
2123
// Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app.
2224
// If multiple calls include the same metric, the last configuration applied (not by submit order) is used, do not
2325
// expect deterministic ordering of concurrent calls. The `exclude_tags_mode` value will set all metrics that match the prefix to
2426
// the same exclusion state, metric tag configurations do not support mixed inclusion and exclusion for tags on the same metric.
2527
// Can only be used with application keys of users with the `Manage Tags for Metrics` permission.
28+
//
29+
// Deprecated: This API is deprecated.
2630
func (a *MetricsApi) CreateBulkTagsMetricsConfiguration(ctx _context.Context, body MetricBulkTagConfigCreateRequest) (MetricBulkTagConfigResponse, *_nethttp.Response, error) {
2731
var (
2832
localVarHTTPMethod = _nethttp.MethodPost
@@ -351,10 +355,14 @@ func (a *MetricsApi) CreateTagIndexingRuleExemption(ctx _context.Context, metric
351355
}
352356

353357
// DeleteBulkTagsMetricsConfiguration Delete tags for multiple metrics.
358+
// **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.
359+
//
354360
// Delete all custom lists of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics.
355361
// Metrics are selected by passing a metric name prefix.
356362
// Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app.
357363
// Can only be used with application keys of users with the `Manage Tags for Metrics` permission.
364+
//
365+
// Deprecated: This API is deprecated.
358366
func (a *MetricsApi) DeleteBulkTagsMetricsConfiguration(ctx _context.Context, body MetricBulkTagConfigDeleteRequest) (MetricBulkTagConfigResponse, *_nethttp.Response, error) {
359367
var (
360368
localVarHTTPMethod = _nethttp.MethodDelete

0 commit comments

Comments
 (0)