Skip to content

Commit 368f87e

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit d58ae42 of spec repo
1 parent 268c97e commit 368f87e

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
@@ -37782,7 +37782,10 @@ paths:
3778237782
x-codegen-request-body-name: body
3778337783
/api/v1/query:
3778437784
get:
37785-
description: Query timeseries points.
37785+
description: |-
37786+
Query timeseries points. Datadog recommends using the v2
37787+
`/api/v2/query/timeseries` endpoint over this endpoint for
37788+
querying timeseries data.
3778637789
operationId: QueryMetrics
3778737790
parameters:
3778837791
- 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
@@ -175956,7 +175956,9 @@ paths:
175956175956
post:
175957175957
description: |-
175958175958
Query timeseries data across various data sources and
175959-
process the data by applying formulas and functions.
175959+
process the data by applying formulas and functions. Datadog recommends
175960+
using this endpoint over the v1 `/api/v1/query` endpoint for querying
175961+
timeseries data.
175960175962
operationId: QueryTimeseriesData
175961175963
requestBody:
175962175964
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)