Skip to content

Commit 28b93c5

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
mark groupby_simple_monitor as deprecated (#2134)
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 e3d4aa2 commit 28b93c5

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.apigentools-info

+4-4
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-09-03 18:07:22.777136",
8-
"spec_repo_commit": "2d21d782"
7+
"regenerated": "2024-09-04 13:35:32.590120",
8+
"spec_repo_commit": "b289628c"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-09-03 18:07:22.794821",
13-
"spec_repo_commit": "2d21d782"
12+
"regenerated": "2024-09-04 13:35:32.608343",
13+
"spec_repo_commit": "b289628c"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -7066,8 +7066,9 @@ components:
70667066
Error Tracking, Event, Logs, and RUM monitors.'
70677067
type: string
70687068
groupby_simple_monitor:
7069+
deprecated: true
70697070
description: Whether the log alert monitor triggers a single alert or multiple
7070-
alerts when any group breaches a threshold.
7071+
alerts when any group breaches a threshold. Use `notify_by` instead.
70717072
type: boolean
70727073
include_tags:
70737074
default: true

src/datadog_api_client/v1/model/monitor_options.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def __init__(
202202
This option is only available for APM Trace Analytics, Audit Trail, CI, Error Tracking, Event, Logs, and RUM monitors.
203203
:type group_retention_duration: str, optional
204204
205-
:param groupby_simple_monitor: Whether the log alert monitor triggers a single alert or multiple alerts when any group breaches a threshold.
205+
:param groupby_simple_monitor: Whether the log alert monitor triggers a single alert or multiple alerts when any group breaches a threshold. Use ``notify_by`` instead. **Deprecated**.
206206
:type groupby_simple_monitor: bool, optional
207207
208208
:param include_tags: A Boolean indicating whether notifications from this monitor automatically inserts its triggering tags into the title.

0 commit comments

Comments
 (0)