Skip to content

Commit

Permalink
Fix metrics query timestamp units to milliseconds (#1749)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <[email protected]>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Apr 18, 2023
1 parent cf464bd commit abea186
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.4",
"regenerated": "2023-04-18 17:35:07.748467",
"spec_repo_commit": "0c4beb36"
"regenerated": "2023-04-18 18:23:24.656123",
"spec_repo_commit": "f3c70802"
},
"v2": {
"apigentools_version": "1.6.4",
"regenerated": "2023-04-18 17:35:07.761090",
"spec_repo_commit": "0c4beb36"
"regenerated": "2023-04-18 18:23:24.668253",
"spec_repo_commit": "f3c70802"
}
}
}
8 changes: 4 additions & 4 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5857,7 +5857,7 @@ components:
readOnly: true
type: string
interval:
description: Number of seconds between data samples.
description: Number of milliseconds between data samples.
format: int64
readOnly: true
type: integer
Expand All @@ -5872,10 +5872,10 @@ components:
readOnly: true
type: string
pointlist:
description: List of points of the time series.
description: List of points of the time series in milliseconds.
example:
- - 1575317847.0
- 0.5
- - 1681683300000.0
- 77.62145685254418
items:
$ref: '#/components/schemas/Point'
readOnly: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public String getExpression() {
}

/**
* Number of seconds between data samples.
* Number of milliseconds between data samples.
*
* @return interval
*/
Expand Down Expand Up @@ -172,7 +172,7 @@ public String getMetric() {
}

/**
* List of points of the time series.
* List of points of the time series in milliseconds.
*
* @return pointlist
*/
Expand Down

0 comments on commit abea186

Please sign in to comment.