Skip to content

Commit 07fd65e

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
mark groupby_simple_monitor as deprecated (#269)
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 61fe9b1 commit 07fd65e

File tree

3 files changed

+8
-6
lines changed

3 files changed

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

.generator/schemas/v1/openapi.yaml

Lines changed: 2 additions & 1 deletion
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/datadogV1/model/model_monitor_options.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ pub struct MonitorOptions {
4545
/// This option is only available for APM Trace Analytics, Audit Trail, CI, Error Tracking, Event, Logs, and RUM monitors.
4646
#[serde(rename = "group_retention_duration")]
4747
pub group_retention_duration: Option<String>,
48-
/// Whether the log alert monitor triggers a single alert or multiple alerts when any group breaches a threshold.
48+
/// Whether the log alert monitor triggers a single alert or multiple alerts when any group breaches a threshold. Use `notify_by` instead.
49+
#[deprecated]
4950
#[serde(rename = "groupby_simple_monitor")]
5051
pub groupby_simple_monitor: Option<bool>,
5152
/// A Boolean indicating whether notifications from this monitor automatically inserts its triggering tags into the title.

0 commit comments

Comments
 (0)