Skip to content

Commit 95a31f0

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Clarify metrics interval param as expected unit in seconds (#1917)
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 a570a08 commit 95a31f0

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-04-10 15:01:01.395898",
8-
"spec_repo_commit": "7e61ac0f"
7+
"regenerated": "2024-04-10 17:49:46.524601",
8+
"spec_repo_commit": "bb0f8c92"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-04-10 15:01:01.412691",
13-
"spec_repo_commit": "7e61ac0f"
12+
"regenerated": "2024-04-10 17:49:46.542355",
13+
"spec_repo_commit": "bb0f8c92"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12143,7 +12143,7 @@ components:
1214312143
interval:
1214412144
default: null
1214512145
description: If the type of the metric is rate or count, define the corresponding
12146-
interval.
12146+
interval in seconds.
1214712147
example: 20
1214812148
format: int64
1214912149
nullable: true

src/datadog_api_client/v1/model/series.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def __init__(
5858
:param host: The name of the host that produced the metric.
5959
:type host: str, optional
6060
61-
:param interval: If the type of the metric is rate or count, define the corresponding interval.
61+
:param interval: If the type of the metric is rate or count, define the corresponding interval in seconds.
6262
:type interval: int, none_type, optional
6363
6464
:param metric: The name of the timeseries.

0 commit comments

Comments
 (0)