Skip to content

Commit eb64c8e

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
[monitors] Clarify usage of require_full_window (#1900)
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 130c1b7 commit eb64c8e

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-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-15 14:24:50.345005",
8-
"spec_repo_commit": "95184165"
7+
"regenerated": "2024-03-18 14:38:44.270297",
8+
"spec_repo_commit": "0dc03d11"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-03-15 14:24:50.377027",
13-
"spec_repo_commit": "95184165"
12+
"regenerated": "2024-03-18 14:38:44.286564",
13+
"spec_repo_commit": "0dc03d11"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7073,7 +7073,7 @@ components:
70737073
description: "A Boolean indicating whether this monitor needs a full window
70747074
of data before it\u2019s evaluated.\nWe highly recommend you set this
70757075
to `false` for sparse metrics,\notherwise some evaluations are skipped.
7076-
Default is false."
7076+
Default is false. This setting only applies to\nmetric monitors."
70777077
type: boolean
70787078
scheduling_options:
70797079
$ref: '#/components/schemas/MonitorOptionsSchedulingOptions'

src/datadog_api_client/v1/model/monitor_options.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,8 @@ def __init__(
279279
280280
:param require_full_window: A Boolean indicating whether this monitor needs a full window of data before it’s evaluated.
281281
We highly recommend you set this to ``false`` for sparse metrics,
282-
otherwise some evaluations are skipped. Default is false.
282+
otherwise some evaluations are skipped. Default is false. This setting only applies to
283+
metric monitors.
283284
:type require_full_window: bool, optional
284285
285286
:param scheduling_options: Configuration options for scheduling.

0 commit comments

Comments
 (0)