@grafana/openapi 13.1.0-24366500887 → 13.1.0-24371165524
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2086,47 +2086,37 @@
|
|
|
2086
2086
|
}
|
|
2087
2087
|
]
|
|
2088
2088
|
},
|
|
2089
|
+
"AlertRuleNamedRoutingTree": {
|
|
2090
|
+
"type": "object",
|
|
2091
|
+
"required": ["type", "routingTree"],
|
|
2092
|
+
"properties": {
|
|
2093
|
+
"routingTree": {
|
|
2094
|
+
"type": "string"
|
|
2095
|
+
},
|
|
2096
|
+
"type": {
|
|
2097
|
+
"$ref": "#/components/schemas/AlertRuleNotificationSettingsType"
|
|
2098
|
+
}
|
|
2099
|
+
},
|
|
2100
|
+
"additionalProperties": false
|
|
2101
|
+
},
|
|
2089
2102
|
"AlertRuleNoDataState": {
|
|
2090
2103
|
"type": "string",
|
|
2091
2104
|
"enum": ["NoData", "Ok", "Alerting", "KeepLast"]
|
|
2092
2105
|
},
|
|
2093
2106
|
"AlertRuleNotificationSettings": {
|
|
2094
2107
|
"description": "TODO(@moustafab): this should be imported from the notifications package",
|
|
2095
|
-
"
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
"activeTimeIntervals": {
|
|
2099
|
-
"type": "array",
|
|
2100
|
-
"items": {
|
|
2101
|
-
"$ref": "#/components/schemas/AlertRuleTimeIntervalRef"
|
|
2102
|
-
}
|
|
2103
|
-
},
|
|
2104
|
-
"groupBy": {
|
|
2105
|
-
"type": "array",
|
|
2106
|
-
"items": {
|
|
2107
|
-
"type": "string"
|
|
2108
|
-
}
|
|
2109
|
-
},
|
|
2110
|
-
"groupInterval": {
|
|
2111
|
-
"$ref": "#/components/schemas/AlertRulePromDuration"
|
|
2112
|
-
},
|
|
2113
|
-
"groupWait": {
|
|
2114
|
-
"$ref": "#/components/schemas/AlertRulePromDuration"
|
|
2115
|
-
},
|
|
2116
|
-
"muteTimeIntervals": {
|
|
2117
|
-
"type": "array",
|
|
2118
|
-
"items": {
|
|
2119
|
-
"$ref": "#/components/schemas/AlertRuleTimeIntervalRef"
|
|
2120
|
-
}
|
|
2121
|
-
},
|
|
2122
|
-
"receiver": {
|
|
2123
|
-
"type": "string"
|
|
2108
|
+
"oneOf": [
|
|
2109
|
+
{
|
|
2110
|
+
"$ref": "#/components/schemas/AlertRuleSimplifiedRouting"
|
|
2124
2111
|
},
|
|
2125
|
-
|
|
2126
|
-
"$ref": "#/components/schemas/
|
|
2112
|
+
{
|
|
2113
|
+
"$ref": "#/components/schemas/AlertRuleNamedRoutingTree"
|
|
2127
2114
|
}
|
|
2128
|
-
|
|
2129
|
-
|
|
2115
|
+
]
|
|
2116
|
+
},
|
|
2117
|
+
"AlertRuleNotificationSettingsType": {
|
|
2118
|
+
"type": "string",
|
|
2119
|
+
"enum": ["SimplifiedRouting", "NamedRoutingTree"]
|
|
2130
2120
|
},
|
|
2131
2121
|
"AlertRuleOperatorState": {
|
|
2132
2122
|
"type": "object",
|
|
@@ -2193,6 +2183,46 @@
|
|
|
2193
2183
|
},
|
|
2194
2184
|
"additionalProperties": false
|
|
2195
2185
|
},
|
|
2186
|
+
"AlertRuleSimplifiedRouting": {
|
|
2187
|
+
"type": "object",
|
|
2188
|
+
"required": ["type", "receiver"],
|
|
2189
|
+
"properties": {
|
|
2190
|
+
"activeTimeIntervals": {
|
|
2191
|
+
"type": "array",
|
|
2192
|
+
"items": {
|
|
2193
|
+
"$ref": "#/components/schemas/AlertRuleTimeIntervalRef"
|
|
2194
|
+
}
|
|
2195
|
+
},
|
|
2196
|
+
"groupBy": {
|
|
2197
|
+
"type": "array",
|
|
2198
|
+
"items": {
|
|
2199
|
+
"type": "string"
|
|
2200
|
+
}
|
|
2201
|
+
},
|
|
2202
|
+
"groupInterval": {
|
|
2203
|
+
"$ref": "#/components/schemas/AlertRulePromDuration"
|
|
2204
|
+
},
|
|
2205
|
+
"groupWait": {
|
|
2206
|
+
"$ref": "#/components/schemas/AlertRulePromDuration"
|
|
2207
|
+
},
|
|
2208
|
+
"muteTimeIntervals": {
|
|
2209
|
+
"type": "array",
|
|
2210
|
+
"items": {
|
|
2211
|
+
"$ref": "#/components/schemas/AlertRuleTimeIntervalRef"
|
|
2212
|
+
}
|
|
2213
|
+
},
|
|
2214
|
+
"receiver": {
|
|
2215
|
+
"type": "string"
|
|
2216
|
+
},
|
|
2217
|
+
"repeatInterval": {
|
|
2218
|
+
"$ref": "#/components/schemas/AlertRulePromDuration"
|
|
2219
|
+
},
|
|
2220
|
+
"type": {
|
|
2221
|
+
"$ref": "#/components/schemas/AlertRuleNotificationSettingsType"
|
|
2222
|
+
}
|
|
2223
|
+
},
|
|
2224
|
+
"additionalProperties": false
|
|
2225
|
+
},
|
|
2196
2226
|
"AlertRuleSpec": {
|
|
2197
2227
|
"type": "object",
|
|
2198
2228
|
"required": ["title", "trigger", "noDataState", "execErrState", "expressions"],
|