Skip to content
Open
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 @@ -140826,7 +140826,10 @@ paths:
- metrics_read
/api/v2/metrics/config/bulk-tags:
delete:
deprecated: true
description: |-
**Note**: This endpoint is deprecated. Use the `/api/v2/metrics/{metric_name}/tags` endpoint 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 @@ -140897,8 +140900,12 @@ paths:
operator: OR
permissions:
- metric_tags_write
x-sunset: "2027-01-01"
post:
deprecated: true
description: |-
**Note**: This endpoint is deprecated. Use the `/api/v2/metrics/{metric_name}/tags` endpoint 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 @@ -140977,6 +140984,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
28 changes: 26 additions & 2 deletions src/main/java/com/datadog/api/client/v2/api/MetricsApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ public void setApiClient(ApiClient apiClient) {
* @param body (required)
* @return MetricBulkTagConfigResponse
* @throws ApiException if fails to make API call
* @deprecated
*/
@Deprecated
public MetricBulkTagConfigResponse createBulkTagsMetricsConfiguration(
MetricBulkTagConfigCreateRequest body) throws ApiException {
return createBulkTagsMetricsConfigurationWithHttpInfo(body).getData();
Expand All @@ -95,7 +97,9 @@ public MetricBulkTagConfigResponse createBulkTagsMetricsConfiguration(
*
* @param body (required)
* @return CompletableFuture<MetricBulkTagConfigResponse>
* @deprecated
*/
@Deprecated
public CompletableFuture<MetricBulkTagConfigResponse> createBulkTagsMetricsConfigurationAsync(
MetricBulkTagConfigCreateRequest body) {
return createBulkTagsMetricsConfigurationWithHttpInfoAsync(body)
Expand All @@ -106,7 +110,10 @@ public CompletableFuture<MetricBulkTagConfigResponse> createBulkTagsMetricsConfi
}

/**
* Create and define a list of queryable tag keys for a set of existing count, gauge, rate, and
* <strong>Note</strong>: This endpoint is deprecated. Use the <code>
* /api/v2/metrics/{metric_name}/tags</code> endpoint instead.
*
* <p>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. If multiple calls include
Expand All @@ -129,7 +136,10 @@ public CompletableFuture<MetricBulkTagConfigResponse> createBulkTagsMetricsConfi
* <tr><td> 404 </td><td> Not Found </td><td> - </td></tr>
* <tr><td> 429 </td><td> Too Many Requests </td><td> - </td></tr>
* </table>
*
* @deprecated
*/
@Deprecated
public ApiResponse<MetricBulkTagConfigResponse> createBulkTagsMetricsConfigurationWithHttpInfo(
MetricBulkTagConfigCreateRequest body) throws ApiException {
Object localVarPostBody = body;
Expand Down Expand Up @@ -172,7 +182,9 @@ public ApiResponse<MetricBulkTagConfigResponse> createBulkTagsMetricsConfigurati
*
* @param body (required)
* @return CompletableFuture&lt;ApiResponse&lt;MetricBulkTagConfigResponse&gt;&gt;
* @deprecated
*/
@Deprecated
public CompletableFuture<ApiResponse<MetricBulkTagConfigResponse>>
createBulkTagsMetricsConfigurationWithHttpInfoAsync(MetricBulkTagConfigCreateRequest body) {
Object localVarPostBody = body;
Expand Down Expand Up @@ -700,7 +712,9 @@ public ApiResponse<TagIndexingRuleExemptionResponse> createTagIndexingRuleExempt
* @param body (required)
* @return MetricBulkTagConfigResponse
* @throws ApiException if fails to make API call
* @deprecated
*/
@Deprecated
public MetricBulkTagConfigResponse deleteBulkTagsMetricsConfiguration(
MetricBulkTagConfigDeleteRequest body) throws ApiException {
return deleteBulkTagsMetricsConfigurationWithHttpInfo(body).getData();
Expand All @@ -713,7 +727,9 @@ public MetricBulkTagConfigResponse deleteBulkTagsMetricsConfiguration(
*
* @param body (required)
* @return CompletableFuture&lt;MetricBulkTagConfigResponse&gt;
* @deprecated
*/
@Deprecated
public CompletableFuture<MetricBulkTagConfigResponse> deleteBulkTagsMetricsConfigurationAsync(
MetricBulkTagConfigDeleteRequest body) {
return deleteBulkTagsMetricsConfigurationWithHttpInfoAsync(body)
Expand All @@ -724,7 +740,10 @@ public CompletableFuture<MetricBulkTagConfigResponse> deleteBulkTagsMetricsConfi
}

/**
* Delete all custom lists of queryable tag keys for a set of existing count, gauge, rate, and
* <strong>Note</strong>: This endpoint is deprecated. Use the <code>
* /api/v2/metrics/{metric_name}/tags</code> endpoint instead.
*
* <p>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. Can
* only be used with application keys of users with the <code>Manage Tags for Metrics</code>
Expand All @@ -743,7 +762,10 @@ public CompletableFuture<MetricBulkTagConfigResponse> deleteBulkTagsMetricsConfi
* <tr><td> 404 </td><td> Not Found </td><td> - </td></tr>
* <tr><td> 429 </td><td> Too Many Requests </td><td> - </td></tr>
* </table>
*
* @deprecated
*/
@Deprecated
public ApiResponse<MetricBulkTagConfigResponse> deleteBulkTagsMetricsConfigurationWithHttpInfo(
MetricBulkTagConfigDeleteRequest body) throws ApiException {
Object localVarPostBody = body;
Expand Down Expand Up @@ -786,7 +808,9 @@ public ApiResponse<MetricBulkTagConfigResponse> deleteBulkTagsMetricsConfigurati
*
* @param body (required)
* @return CompletableFuture&lt;ApiResponse&lt;MetricBulkTagConfigResponse&gt;&gt;
* @deprecated
*/
@Deprecated
public CompletableFuture<ApiResponse<MetricBulkTagConfigResponse>>
deleteBulkTagsMetricsConfigurationWithHttpInfoAsync(MetricBulkTagConfigDeleteRequest body) {
Object localVarPostBody = body;
Expand Down
Loading