File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 10371037 "example": {
10381038 "integration_id": 10001,
10391039 "rules": [
1040+ {
1041+ "kind": "title_reset",
1042+ "if": [
1043+ {
1044+ "key": "labels.env",
1045+ "oper": "IN",
1046+ "vals": [
1047+ "prod"
1048+ ]
1049+ }
1050+ ],
1051+ "settings": {
1052+ "title": "[TPL]{{.Labels.service}} / {{.Labels.check}}"
1053+ }
1054+ },
10401055 {
10411056 "kind": "severity_reset",
10421057 "if": null,
39403955 "data": {
39413956 "integration_id": 10001,
39423957 "rules": [
3958+ {
3959+ "kind": "title_reset",
3960+ "if": [
3961+ {
3962+ "key": "labels.env",
3963+ "oper": "IN",
3964+ "vals": [
3965+ "prod"
3966+ ]
3967+ }
3968+ ],
3969+ "settings": {
3970+ "title": "[TPL]{{.Labels.service}} / {{.Labels.check}}"
3971+ }
3972+ },
39433973 {
39443974 "kind": "severity_reset",
39453975 "if": null,
72127242 "items": [
72137243 {
72147244 "integration_id": 10001,
7215- "rules": [],
7245+ "rules": [
7246+ {
7247+ "kind": "alert_inhibit",
7248+ "if": [
7249+ {
7250+ "key": "labels.cluster",
7251+ "oper": "IN",
7252+ "vals": [
7253+ "prod-cn"
7254+ ]
7255+ }
7256+ ],
7257+ "settings": {
7258+ "equals": [
7259+ "service"
7260+ ],
7261+ "source_filters": [
7262+ {
7263+ "key": "alert_severity",
7264+ "oper": "IN",
7265+ "vals": [
7266+ "Critical"
7267+ ]
7268+ }
7269+ ]
7270+ }
7271+ }
7272+ ],
72167273 "status": "enabled",
72177274 "creator_id": 80011,
72187275 "updated_by": 80011,
Original file line number Diff line number Diff line change 10371037 "example": {
10381038 "integration_id": 10001,
10391039 "rules": [
1040+ {
1041+ "kind": "title_reset",
1042+ "if": [
1043+ {
1044+ "key": "labels.env",
1045+ "oper": "IN",
1046+ "vals": [
1047+ "prod"
1048+ ]
1049+ }
1050+ ],
1051+ "settings": {
1052+ "title": "[TPL]{{.Labels.service}} / {{.Labels.check}}"
1053+ }
1054+ },
10401055 {
10411056 "kind": "severity_reset",
10421057 "if": null,
39403955 "data": {
39413956 "integration_id": 10001,
39423957 "rules": [
3958+ {
3959+ "kind": "title_reset",
3960+ "if": [
3961+ {
3962+ "key": "labels.env",
3963+ "oper": "IN",
3964+ "vals": [
3965+ "prod"
3966+ ]
3967+ }
3968+ ],
3969+ "settings": {
3970+ "title": "[TPL]{{.Labels.service}} / {{.Labels.check}}"
3971+ }
3972+ },
39433973 {
39443974 "kind": "severity_reset",
39453975 "if": null,
72127242 "items": [
72137243 {
72147244 "integration_id": 10001,
7215- "rules": [],
7245+ "rules": [
7246+ {
7247+ "kind": "alert_inhibit",
7248+ "if": [
7249+ {
7250+ "key": "labels.cluster",
7251+ "oper": "IN",
7252+ "vals": [
7253+ "prod-cn"
7254+ ]
7255+ }
7256+ ],
7257+ "settings": {
7258+ "equals": [
7259+ "service"
7260+ ],
7261+ "source_filters": [
7262+ {
7263+ "key": "alert_severity",
7264+ "oper": "IN",
7265+ "vals": [
7266+ "Critical"
7267+ ]
7268+ }
7269+ ]
7270+ }
7271+ }
7272+ ],
72167273 "status": "enabled",
72177274 "creator_id": 80011,
72187275 "updated_by": 80011,
Original file line number Diff line number Diff line change 63626362 "data": {
63636363 "integration_id": 10001,
63646364 "rules": [
6365+ {
6366+ "kind": "title_reset",
6367+ "if": [
6368+ {
6369+ "key": "labels.env",
6370+ "oper": "IN",
6371+ "vals": [
6372+ "prod"
6373+ ]
6374+ }
6375+ ],
6376+ "settings": {
6377+ "title": "[TPL]{{.Labels.service}} / {{.Labels.check}}"
6378+ }
6379+ },
63656380 {
63666381 "kind": "severity_reset",
63676382 "if": null,
64496464 "items": [
64506465 {
64516466 "integration_id": 10001,
6452- "rules": [],
6467+ "rules": [
6468+ {
6469+ "kind": "alert_inhibit",
6470+ "if": [
6471+ {
6472+ "key": "labels.cluster",
6473+ "oper": "IN",
6474+ "vals": [
6475+ "prod-cn"
6476+ ]
6477+ }
6478+ ],
6479+ "settings": {
6480+ "equals": [
6481+ "service"
6482+ ],
6483+ "source_filters": [
6484+ {
6485+ "key": "alert_severity",
6486+ "oper": "IN",
6487+ "vals": [
6488+ "Critical"
6489+ ]
6490+ }
6491+ ]
6492+ }
6493+ }
6494+ ],
64536495 "status": "enabled",
64546496 "creator_id": 80011,
64556497 "updated_by": 80011,
65586600 "example": {
65596601 "integration_id": 10001,
65606602 "rules": [
6603+ {
6604+ "kind": "title_reset",
6605+ "if": [
6606+ {
6607+ "key": "labels.env",
6608+ "oper": "IN",
6609+ "vals": [
6610+ "prod"
6611+ ]
6612+ }
6613+ ],
6614+ "settings": {
6615+ "title": "[TPL]{{.Labels.service}} / {{.Labels.check}}"
6616+ }
6617+ },
65616618 {
65626619 "kind": "severity_reset",
65636620 "if": null,
Original file line number Diff line number Diff line change 63626362 "data": {
63636363 "integration_id": 10001,
63646364 "rules": [
6365+ {
6366+ "kind": "title_reset",
6367+ "if": [
6368+ {
6369+ "key": "labels.env",
6370+ "oper": "IN",
6371+ "vals": [
6372+ "prod"
6373+ ]
6374+ }
6375+ ],
6376+ "settings": {
6377+ "title": "[TPL]{{.Labels.service}} / {{.Labels.check}}"
6378+ }
6379+ },
63656380 {
63666381 "kind": "severity_reset",
63676382 "if": null,
64496464 "items": [
64506465 {
64516466 "integration_id": 10001,
6452- "rules": [],
6467+ "rules": [
6468+ {
6469+ "kind": "alert_inhibit",
6470+ "if": [
6471+ {
6472+ "key": "labels.cluster",
6473+ "oper": "IN",
6474+ "vals": [
6475+ "prod-cn"
6476+ ]
6477+ }
6478+ ],
6479+ "settings": {
6480+ "equals": [
6481+ "service"
6482+ ],
6483+ "source_filters": [
6484+ {
6485+ "key": "alert_severity",
6486+ "oper": "IN",
6487+ "vals": [
6488+ "Critical"
6489+ ]
6490+ }
6491+ ]
6492+ }
6493+ }
6494+ ],
64536495 "status": "enabled",
64546496 "creator_id": 80011,
64556497 "updated_by": 80011,
65586600 "example": {
65596601 "integration_id": 10001,
65606602 "rules": [
6603+ {
6604+ "kind": "title_reset",
6605+ "if": [
6606+ {
6607+ "key": "labels.env",
6608+ "oper": "IN",
6609+ "vals": [
6610+ "prod"
6611+ ]
6612+ }
6613+ ],
6614+ "settings": {
6615+ "title": "[TPL]{{.Labels.service}} / {{.Labels.check}}"
6616+ }
6617+ },
65616618 {
65626619 "kind": "severity_reset",
65636620 "if": null,
You can’t perform that action at this time.
0 commit comments