Skip to content

Commit 56cff25

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Clarify units of metrics interval param as seconds (#1569)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent 11e16ea commit 56cff25

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
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.6",
7-
"regenerated": "2024-03-21 19:44:31.585702",
8-
"spec_repo_commit": "7b0d4cbe"
7+
"regenerated": "2024-03-22 15:34:48.403199",
8+
"spec_repo_commit": "24998b49"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-03-21 19:44:31.606957",
13-
"spec_repo_commit": "7b0d4cbe"
12+
"regenerated": "2024-03-22 15:34:48.420728",
13+
"spec_repo_commit": "24998b49"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12444,7 +12444,7 @@ components:
1244412444
properties:
1244512445
interval:
1244612446
description: If the type of the metric is rate or count, define the corresponding
12447-
interval.
12447+
interval in seconds.
1244812448
example: 20
1244912449
format: int64
1245012450
type: integer

packages/datadog-api-client-v2/models/MetricSeries.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1616
*/
1717
export class MetricSeries {
1818
/**
19-
* If the type of the metric is rate or count, define the corresponding interval.
19+
* If the type of the metric is rate or count, define the corresponding interval in seconds.
2020
*/
2121
"interval"?: number;
2222
/**

0 commit comments

Comments
 (0)