Skip to content

Commit a5ae26e

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

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:12.113188",
8-
"spec_repo_commit": "0c4beb36"
7+
"regenerated": "2023-04-18 18:23:16.505455",
8+
"spec_repo_commit": "f3c70802"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2023-04-18 17:35:12.127152",
13-
"spec_repo_commit": "0c4beb36"
12+
"regenerated": "2023-04-18 18:23:16.518200",
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

packages/datadog-api-client-v1/models/MetricsQueryMetadata.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export class MetricsQueryMetadata {
2828
*/
2929
"expression"?: string;
3030
/**
31-
* Number of seconds between data samples.
31+
* Number of milliseconds between data samples.
3232
*/
3333
"interval"?: number;
3434
/**
@@ -40,7 +40,7 @@ export class MetricsQueryMetadata {
4040
*/
4141
"metric"?: string;
4242
/**
43-
* List of points of the time series.
43+
* List of points of the time series in milliseconds.
4444
*/
4545
"pointlist"?: Array<[number, number]>;
4646
/**

0 commit comments

Comments
 (0)