Skip to content

Commit 3dff134

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
mark groupby_simple_monitor as deprecated (#2456)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent d79fd35 commit 3dff134

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-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:20.090677",
8-
"spec_repo_commit": "2d21d782"
7+
"regenerated": "2024-09-04 13:35:29.778542",
8+
"spec_repo_commit": "b289628c"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-09-03 18:07:20.108794",
13-
"spec_repo_commit": "2d21d782"
12+
"regenerated": "2024-09-04 13:35:29.797364",
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/main/java/com/datadog/api/client/v1/model/MonitorOptions.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,17 +312,20 @@ public MonitorOptions groupbySimpleMonitor(Boolean groupbySimpleMonitor) {
312312

313313
/**
314314
* Whether the log alert monitor triggers a single alert or multiple alerts when any group
315-
* breaches a threshold.
315+
* breaches a threshold. Use <code>notify_by</code> instead.
316316
*
317317
* @return groupbySimpleMonitor
318+
* @deprecated
318319
*/
320+
@Deprecated
319321
@jakarta.annotation.Nullable
320322
@JsonProperty(JSON_PROPERTY_GROUPBY_SIMPLE_MONITOR)
321323
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
322324
public Boolean getGroupbySimpleMonitor() {
323325
return groupbySimpleMonitor;
324326
}
325327

328+
@Deprecated
326329
public void setGroupbySimpleMonitor(Boolean groupbySimpleMonitor) {
327330
this.groupbySimpleMonitor = groupbySimpleMonitor;
328331
}

0 commit comments

Comments
 (0)