Skip to content

Commit 6dfdc5d

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 6d1c12c of spec repo
1 parent b874202 commit 6dfdc5d

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
@@ -37568,7 +37568,10 @@ paths:
3756837568
x-codegen-request-body-name: body
3756937569
/api/v1/query:
3757037570
get:
37571-
description: Query timeseries points.
37571+
description: |-
37572+
Query timeseries points. Datadog recommends using the v2
37573+
`/api/v2/query/timeseries` endpoint over this endpoint for
37574+
querying timeseries data.
3757237575
operationId: QueryMetrics
3757337576
parameters:
3757437577
- 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
@@ -178056,7 +178056,9 @@ paths:
178056178056
post:
178057178057
description: |-
178058178058
Query timeseries data across various data sources and
178059-
process the data by applying formulas and functions.
178059+
process the data by applying formulas and functions. Datadog recommends
178060+
using this endpoint over the v1 `/api/v1/query` endpoint for querying
178061+
timeseries data.
178060178062
operationId: QueryTimeseriesData
178061178063
requestBody:
178062178064
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
@@ -1665,7 +1665,9 @@ def query_timeseries_data(
16651665
"""Query timeseries data across multiple products.
16661666
16671667
Query timeseries data across various data sources and
1668-
process the data by applying formulas and functions.
1668+
process the data by applying formulas and functions. Datadog recommends
1669+
using this endpoint over the v1 ``/api/v1/query`` endpoint for querying
1670+
timeseries data.
16691671
16701672
:type body: TimeseriesFormulaQueryRequest
16711673
:rtype: TimeseriesFormulaQueryResponse

0 commit comments

Comments
 (0)