Skip to content

Commit cb3581e

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Fix metrics query timestamp units to milliseconds (#1418)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 554ffe5 commit cb3581e

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.4",
7-
"regenerated": "2023-04-18 17:35:07.161509",
8-
"spec_repo_commit": "0c4beb36"
7+
"regenerated": "2023-04-18 18:23:15.872640",
8+
"spec_repo_commit": "f3c70802"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2023-04-18 17:35:07.174065",
13-
"spec_repo_commit": "0c4beb36"
12+
"regenerated": "2023-04-18 18:23:15.884232",
13+
"spec_repo_commit": "f3c70802"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5857,7 +5857,7 @@ components:
58575857
readOnly: true
58585858
type: string
58595859
interval:
5860-
description: Number of seconds between data samples.
5860+
description: Number of milliseconds between data samples.
58615861
format: int64
58625862
readOnly: true
58635863
type: integer
@@ -5872,10 +5872,10 @@ components:
58725872
readOnly: true
58735873
type: string
58745874
pointlist:
5875-
description: List of points of the time series.
5875+
description: List of points of the time series in milliseconds.
58765876
example:
5877-
- - 1575317847.0
5878-
- 0.5
5877+
- - 1681683300000.0
5878+
- 77.62145685254418
58795879
items:
58805880
$ref: '#/components/schemas/Point'
58815881
readOnly: true

src/datadog_api_client/v1/model/metrics_query_metadata.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def __init__(
111111
:param expression: Metric expression.
112112
:type expression: str, optional
113113
114-
:param interval: Number of seconds between data samples.
114+
:param interval: Number of milliseconds between data samples.
115115
:type interval: int, optional
116116
117117
:param length: Number of data samples.
@@ -120,7 +120,7 @@ def __init__(
120120
:param metric: Metric name.
121121
:type metric: str, optional
122122
123-
:param pointlist: List of points of the time series.
123+
:param pointlist: List of points of the time series in milliseconds.
124124
:type pointlist: [Point], optional
125125
126126
:param query_index: The index of the series' query within the request.

0 commit comments

Comments
 (0)