Skip to content

Commit d1c3b25

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 0740e40 of spec repo
1 parent 0edb154 commit d1c3b25

4 files changed

Lines changed: 13 additions & 4 deletions

File tree

.generator/schemas/v1/openapi.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37768,7 +37768,10 @@ paths:
3776837768
x-codegen-request-body-name: body
3776937769
/api/v1/query:
3777037770
get:
37771-
description: Query timeseries points.
37771+
description: |-
37772+
Query timeseries points. Datadog recommends using the v2
37773+
`/api/v2/query/timeseries` endpoint over this endpoint for
37774+
querying timeseries data.
3777237775
operationId: QueryMetrics
3777337776
parameters:
3777437777
- 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
@@ -175278,7 +175278,9 @@ paths:
175278175278
post:
175279175279
description: |-
175280175280
Query timeseries data across various data sources and
175281-
process the data by applying formulas and functions.
175281+
process the data by applying formulas and functions. Datadog recommends
175282+
using this endpoint over the v1 `/api/v1/query` endpoint for querying
175283+
timeseries data.
175282175284
operationId: QueryTimeseriesData
175283175285
requestBody:
175284175286
content:

src/datadog_api_client/v1/api/metrics_api.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,9 @@ def query_metrics(
314314
) -> MetricsQueryResponse:
315315
"""Query timeseries points.
316316
317-
Query timeseries points.
317+
Query timeseries points. Datadog recommends using the v2
318+
``/api/v2/query/timeseries`` endpoint over this endpoint for
319+
querying timeseries data.
318320
319321
:param _from: Start of the queried time period, seconds since the Unix epoch.
320322
:type _from: int

src/datadog_api_client/v2/api/metrics_api.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1661,7 +1661,9 @@ def query_timeseries_data(
16611661
"""Query timeseries data across multiple products.
16621662
16631663
Query timeseries data across various data sources and
1664-
process the data by applying formulas and functions.
1664+
process the data by applying formulas and functions. Datadog recommends
1665+
using this endpoint over the v1 ``/api/v1/query`` endpoint for querying
1666+
timeseries data.
16651667
16661668
:type body: TimeseriesFormulaQueryRequest
16671669
:rtype: TimeseriesFormulaQueryResponse

0 commit comments

Comments
 (0)