Skip to content

Commit fa3943d

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 3b4f16c of spec repo
1 parent 55602eb commit fa3943d

4 files changed

Lines changed: 11 additions & 4 deletions

File tree

.generator/schemas/v1/openapi.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37576,7 +37576,10 @@ paths:
3757637576
x-codegen-request-body-name: body
3757737577
/api/v1/query:
3757837578
get:
37579-
description: Query timeseries points.
37579+
description: |-
37580+
Query timeseries points. Datadog recommends using the v2
37581+
`/api/v2/query/timeseries` endpoint over this endpoint for
37582+
querying timeseries data.
3758037583
operationId: QueryMetrics
3758137584
parameters:
3758237585
- description: Start of the queried time period, seconds since the Unix epoch.

.generator/schemas/v2/openapi.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182209,7 +182209,9 @@ paths:
182209182209
post:
182210182210
description: |-
182211182211
Query timeseries data across various data sources and
182212-
process the data by applying formulas and functions.
182212+
process the data by applying formulas and functions. Datadog recommends
182213+
using this endpoint over the v1 `/api/v1/query` endpoint for querying
182214+
timeseries data.
182213182215
operationId: QueryTimeseriesData
182214182216
requestBody:
182215182217
content:

src/main/java/com/datadog/api/client/v1/api/MetricsApi.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,8 @@ public CompletableFuture<MetricsQueryResponse> queryMetricsAsync(
583583
}
584584

585585
/**
586-
* Query timeseries points.
586+
* Query timeseries points. Datadog recommends using the v2 <code>/api/v2/query/timeseries</code>
587+
* endpoint over this endpoint for querying timeseries data.
587588
*
588589
* @param from Start of the queried time period, seconds since the Unix epoch. (required)
589590
* @param to End of the queried time period, seconds since the Unix epoch. (required)

src/main/java/com/datadog/api/client/v2/api/MetricsApi.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4622,7 +4622,8 @@ public CompletableFuture<TimeseriesFormulaQueryResponse> queryTimeseriesDataAsyn
46224622

46234623
/**
46244624
* Query timeseries data across various data sources and process the data by applying formulas and
4625-
* functions.
4625+
* functions. Datadog recommends using this endpoint over the v1 <code>/api/v1/query</code>
4626+
* endpoint for querying timeseries data.
46264627
*
46274628
* @param body (required)
46284629
* @return ApiResponse&lt;TimeseriesFormulaQueryResponse&gt;

0 commit comments

Comments
 (0)