File tree Expand file tree Collapse file tree
content/en/api/v2/monitors Expand file tree Collapse file tree Load diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1+ {
2+ "data" : {
3+ "attributes" : {
4+ "filter" : {
5+ "tags" : [
6+ " test:example-monitor"
7+ ]
8+ },
9+ "name" : " test rule" ,
10+ "recipients" : [
11+ " slack-test-channel"
12+ ],
13+ "bundle_config" : {
14+ "duration" : 3600
15+ }
16+ },
17+ "type" : " monitor-notification-rule"
18+ }
19+ }
Original file line number Diff line number Diff line change 1+ {
2+ "data" : {
3+ "attributes" : {
4+ "filter" : {
5+ "tags" : [
6+ " test:example-monitor"
7+ ]
8+ },
9+ "name" : " updated rule" ,
10+ "recipients" : [
11+ " slack-test-channel"
12+ ],
13+ "bundle_config" : {
14+ "duration" : 3600
15+ }
16+ },
17+ "id" : " 00000000-0000-1234-0000-000000000000" ,
18+ "type" : " monitor-notification-rule"
19+ }
20+ }
Original file line number Diff line number Diff line change 15951595 "suffix" : " " ,
15961596 "description" : " Create a monitor notification rule returns \" OK\" response"
15971597 },
1598+ {
1599+ "group" : " monitors" ,
1600+ "suffix" : " _678042569" ,
1601+ "description" : " Create a monitor notification rule with bundle config returns \" OK\" response"
1602+ },
15981603 {
15991604 "group" : " monitors" ,
16001605 "suffix" : " _1181818787" ,
16261631 "suffix" : " " ,
16271632 "description" : " Update a monitor notification rule returns \" OK\" response"
16281633 },
1634+ {
1635+ "group" : " monitors" ,
1636+ "suffix" : " _752032728" ,
1637+ "description" : " Update a monitor notification rule with bundle config returns \" OK\" response"
1638+ },
16291639 {
16301640 "group" : " monitors" ,
16311641 "suffix" : " _1400905713" ,
Original file line number Diff line number Diff line change @@ -68863,6 +68863,8 @@ components:
6886368863 additionalProperties: false
6886468864 description: Attributes of the monitor notification rule.
6886568865 properties:
68866+ bundle_config:
68867+ $ref: "#/components/schemas/MonitorNotificationRuleBundleConfig"
6886668868 conditional_recipients:
6886768869 $ref: "#/components/schemas/MonitorNotificationRuleConditionalRecipients"
6886868870 filter:
@@ -68873,6 +68875,19 @@ components:
6887368875 $ref: "#/components/schemas/MonitorNotificationRuleRecipients"
6887468876 required: [name]
6887568877 type: object
68878+ MonitorNotificationRuleBundleConfig:
68879+ description: |-
68880+ Use bundle config to enable alert bundling to reduce monitor signal noises. **Note**: This feature is in preview and is subject to change.
68881+ If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
68882+ properties:
68883+ duration:
68884+ description: Duration of the bundling period.
68885+ example: 3600
68886+ format: int32
68887+ maximum: 2147483647
68888+ type: integer
68889+ required: [duration]
68890+ type: object
6887668891 MonitorNotificationRuleCondition:
6887768892 description: |-
6887868893 A conditional recipient rule composed of a `scope` (the matching condition) and
@@ -69055,6 +69070,8 @@ components:
6905569070 additionalProperties: {}
6905669071 description: Attributes of the monitor notification rule.
6905769072 properties:
69073+ bundle_config:
69074+ $ref: "#/components/schemas/MonitorNotificationRuleBundleConfig"
6905869075 conditional_recipients:
6905969076 $ref: "#/components/schemas/MonitorNotificationRuleConditionalRecipients"
6906069077 created:
You can’t perform that action at this time.
0 commit comments