Skip to content

Commit 4b6de08

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Clarify units of metrics interval param as seconds (#1918)
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 b73ad38 commit 4b6de08

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:29.077421",
8-
"spec_repo_commit": "7b0d4cbe"
7+
"regenerated": "2024-03-22 15:34:50.992449",
8+
"spec_repo_commit": "24998b49"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-03-21 19:44:29.098141",
13-
"spec_repo_commit": "7b0d4cbe"
12+
"regenerated": "2024-03-22 15:34:51.009165",
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

src/datadog_api_client/v2/model/metric_series.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def __init__(
6969
A metric to submit to Datadog.
7070
See `Datadog metrics <https://docs.datadoghq.com/developers/metrics/#custom-metrics-properties>`_.
7171
72-
:param interval: If the type of the metric is rate or count, define the corresponding interval.
72+
:param interval: If the type of the metric is rate or count, define the corresponding interval in seconds.
7373
:type interval: int, optional
7474
7575
:param metadata: Metadata for the metric.

0 commit comments

Comments
 (0)