|
294 | 294 | "minLength": 1,
|
295 | 295 | "type": "string"
|
296 | 296 | },
|
| 297 | + "sendResolved": { |
| 298 | + "default": false, |
| 299 | + "description": "Whether to notify about resolved alerts.", |
| 300 | + "type": "boolean" |
| 301 | + }, |
297 | 302 | "smarthost": {
|
298 | 303 | "description": "The SMTP host through which emails are sent.\n`Additional Validators:`\n* should only include the characters: a-zA-Z0-9_./@\u0026?:-",
|
299 | 304 | "maxLength": 200,
|
|
333 | 338 | "minLength": 1,
|
334 | 339 | "type": "string"
|
335 | 340 | },
|
| 341 | + "priority": { |
| 342 | + "description": "Priority level of alert. Possible values are P1, P2, P3, P4, and P5.", |
| 343 | + "maxLength": 2, |
| 344 | + "minLength": 2, |
| 345 | + "type": "string" |
| 346 | + }, |
| 347 | + "sendResolved": { |
| 348 | + "default": true, |
| 349 | + "description": "Whether to notify about resolved alerts.", |
| 350 | + "type": "boolean" |
| 351 | + }, |
336 | 352 | "tags": {
|
337 | 353 | "description": "Comma separated list of tags attached to the notifications.",
|
338 | 354 | "maxLength": 400,
|
|
352 | 368 | "description": "Microsoft Teams webhooks require special handling. If you set this property to true, it is treated as such",
|
353 | 369 | "type": "boolean"
|
354 | 370 | },
|
| 371 | + "sendResolved": { |
| 372 | + "default": true, |
| 373 | + "description": "Whether to notify about resolved alerts.", |
| 374 | + "type": "boolean" |
| 375 | + }, |
355 | 376 | "url": {
|
356 | 377 | "description": "The endpoint to send HTTP POST requests to.\n`Additional Validators:`\n* must be a syntactically valid url address",
|
357 | 378 | "maxLength": 500,
|
|
372 | 393 | "CreateAlertConfigRoutePayload": {
|
373 | 394 | "description": "The root node of the routing tree.",
|
374 | 395 | "properties": {
|
| 396 | + "continue": { |
| 397 | + "default": false, |
| 398 | + "description": "Whether an alert should continue matching subsequent sibling nodes.", |
| 399 | + "type": "boolean" |
| 400 | + }, |
375 | 401 | "groupBy": {
|
376 | 402 | "description": "The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping.",
|
377 | 403 | "items": {
|
|
397 | 423 | "type": "string"
|
398 | 424 | },
|
399 | 425 | "match": {
|
| 426 | + "deprecated": true, |
400 | 427 | "description": "map of key:value. A set of equality matchers an alert has to fulfill to match the node. \n`Additional Validators:`\n* should not contain more than 5 keys\n* each key and value should not be longer than 200 characters\n* key and values should only include the characters: a-zA-Z0-9_./@\u0026?:-",
|
401 | 428 | "type": "object"
|
402 | 429 | },
|
403 | 430 | "matchRe": {
|
| 431 | + "deprecated": true, |
404 | 432 | "description": "map of key:value. A set of regex-matchers an alert has to fulfill to match the node. \n`Additional Validators:`\n* should not contain more than 5 keys\n* each key and value should not be longer than 200 characters",
|
405 | 433 | "type": "object"
|
406 | 434 | },
|
|
432 | 460 | "items": {
|
433 | 461 | "description": "As in one level above",
|
434 | 462 | "properties": {
|
| 463 | + "continue": { |
| 464 | + "default": false, |
| 465 | + "description": "As in one level above", |
| 466 | + "type": "boolean" |
| 467 | + }, |
435 | 468 | "groupBy": {
|
436 | 469 | "items": {
|
437 | 470 | "description": "As in one level above",
|
|
453 | 486 | "type": "string"
|
454 | 487 | },
|
455 | 488 | "match": {
|
| 489 | + "deprecated": true, |
456 | 490 | "description": "As in one level above",
|
457 | 491 | "type": "object"
|
458 | 492 | },
|
459 | 493 | "matchRe": {
|
| 494 | + "deprecated": true, |
460 | 495 | "description": "As in one level above",
|
461 | 496 | "type": "object"
|
462 | 497 | },
|
| 498 | + "matchers": { |
| 499 | + "description": "As in one level above", |
| 500 | + "items": { |
| 501 | + "description": "Item of matchers", |
| 502 | + "maxLength": 200, |
| 503 | + "minLength": 1, |
| 504 | + "type": "string" |
| 505 | + }, |
| 506 | + "type": "array" |
| 507 | + }, |
463 | 508 | "receiver": {
|
464 | 509 | "description": "As in one level above",
|
465 | 510 | "maxLength": 100,
|
|
2673 | 2718 | "title": "Matchre",
|
2674 | 2719 | "type": "object"
|
2675 | 2720 | },
|
| 2721 | + "matchers": { |
| 2722 | + "items": { |
| 2723 | + "maxLength": 200, |
| 2724 | + "minLength": 1, |
| 2725 | + "type": "string" |
| 2726 | + }, |
| 2727 | + "maxItems": 5, |
| 2728 | + "type": "array" |
| 2729 | + }, |
2676 | 2730 | "receiver": {
|
2677 | 2731 | "maxLength": 200,
|
2678 | 2732 | "minLength": 1,
|
|
2917 | 2971 | "minLength": 1,
|
2918 | 2972 | "type": "string"
|
2919 | 2973 | },
|
| 2974 | + "sendResolved": { |
| 2975 | + "default": false, |
| 2976 | + "description": "Whether to notify about resolved alerts.", |
| 2977 | + "type": "boolean" |
| 2978 | + }, |
2920 | 2979 | "smarthost": {
|
2921 | 2980 | "description": "The SMTP host through which emails are sent.\n`Additional Validators:`\n* should only include the characters: a-zA-Z0-9_./@\u0026?:-",
|
2922 | 2981 | "maxLength": 200,
|
|
2956 | 3015 | "minLength": 1,
|
2957 | 3016 | "type": "string"
|
2958 | 3017 | },
|
| 3018 | + "priority": { |
| 3019 | + "description": "Priority level of alert. Possible values are P1, P2, P3, P4, and P5.", |
| 3020 | + "maxLength": 2, |
| 3021 | + "minLength": 2, |
| 3022 | + "type": "string" |
| 3023 | + }, |
| 3024 | + "sendResolved": { |
| 3025 | + "default": true, |
| 3026 | + "description": "Whether to notify about resolved alerts.", |
| 3027 | + "type": "boolean" |
| 3028 | + }, |
2959 | 3029 | "tags": {
|
2960 | 3030 | "description": "Comma separated list of tags attached to the notifications.",
|
2961 | 3031 | "maxLength": 400,
|
|
2975 | 3045 | "description": "Microsoft Teams webhooks require special handling. If you set this property to true, it is treated as such",
|
2976 | 3046 | "type": "boolean"
|
2977 | 3047 | },
|
| 3048 | + "sendResolved": { |
| 3049 | + "default": true, |
| 3050 | + "description": "Whether to notify about resolved alerts.", |
| 3051 | + "type": "boolean" |
| 3052 | + }, |
2978 | 3053 | "url": {
|
2979 | 3054 | "description": "The endpoint to send HTTP POST requests to.\n`Additional Validators:`\n* must be a syntactically valid url address",
|
2980 | 3055 | "maxLength": 500,
|
|
2995 | 3070 | "UpdateAlertConfigRoutePayload": {
|
2996 | 3071 | "description": "The root node of the routing tree.",
|
2997 | 3072 | "properties": {
|
| 3073 | + "continue": { |
| 3074 | + "default": false, |
| 3075 | + "description": "Whether an alert should continue matching subsequent sibling nodes.", |
| 3076 | + "type": "boolean" |
| 3077 | + }, |
2998 | 3078 | "groupBy": {
|
2999 | 3079 | "description": "The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping.",
|
3000 | 3080 | "items": {
|
|
3020 | 3100 | "type": "string"
|
3021 | 3101 | },
|
3022 | 3102 | "match": {
|
| 3103 | + "deprecated": true, |
3023 | 3104 | "description": "map of key:value. A set of equality matchers an alert has to fulfill to match the node. \n`Additional Validators:`\n* should not contain more than 5 keys\n* each key and value should not be longer than 200 characters\n* key and values should only include the characters: a-zA-Z0-9_./@\u0026?:-",
|
3024 | 3105 | "type": "object"
|
3025 | 3106 | },
|
3026 | 3107 | "matchRe": {
|
| 3108 | + "deprecated": true, |
3027 | 3109 | "description": "map of key:value. A set of regex-matchers an alert has to fulfill to match the node. \n`Additional Validators:`\n* should not contain more than 5 keys\n* each key and value should not be longer than 200 characters",
|
3028 | 3110 | "type": "object"
|
3029 | 3111 | },
|
|
3055 | 3137 | "items": {
|
3056 | 3138 | "description": "As in one level above",
|
3057 | 3139 | "properties": {
|
| 3140 | + "continue": { |
| 3141 | + "default": false, |
| 3142 | + "description": "As in one level above", |
| 3143 | + "type": "boolean" |
| 3144 | + }, |
3058 | 3145 | "groupBy": {
|
3059 | 3146 | "items": {
|
3060 | 3147 | "description": "As in one level above",
|
|
3076 | 3163 | "type": "string"
|
3077 | 3164 | },
|
3078 | 3165 | "match": {
|
| 3166 | + "deprecated": true, |
3079 | 3167 | "description": "As in one level above",
|
3080 | 3168 | "type": "object"
|
3081 | 3169 | },
|
3082 | 3170 | "matchRe": {
|
| 3171 | + "deprecated": true, |
3083 | 3172 | "description": "As in one level above",
|
3084 | 3173 | "type": "object"
|
3085 | 3174 | },
|
| 3175 | + "matchers": { |
| 3176 | + "description": "As in one level above", |
| 3177 | + "items": { |
| 3178 | + "description": "Item of matchers", |
| 3179 | + "maxLength": 200, |
| 3180 | + "minLength": 1, |
| 3181 | + "type": "string" |
| 3182 | + }, |
| 3183 | + "type": "array" |
| 3184 | + }, |
3086 | 3185 | "receiver": {
|
3087 | 3186 | "description": "As in one level above",
|
3088 | 3187 | "maxLength": 100,
|
|
3236 | 3335 | "minLength": 1,
|
3237 | 3336 | "type": "string"
|
3238 | 3337 | },
|
| 3338 | + "sendResolved": { |
| 3339 | + "default": false, |
| 3340 | + "description": "Whether to notify about resolved alerts.", |
| 3341 | + "type": "boolean" |
| 3342 | + }, |
3239 | 3343 | "smarthost": {
|
3240 | 3344 | "description": "The SMTP host through which emails are sent.\n`Additional Validators:`\n* should only include the characters: a-zA-Z0-9_./@\u0026?:-",
|
3241 | 3345 | "maxLength": 200,
|
|
3275 | 3379 | "minLength": 1,
|
3276 | 3380 | "type": "string"
|
3277 | 3381 | },
|
| 3382 | + "priority": { |
| 3383 | + "description": "Priority level of alert. Possible values are P1, P2, P3, P4, and P5.", |
| 3384 | + "maxLength": 2, |
| 3385 | + "minLength": 2, |
| 3386 | + "type": "string" |
| 3387 | + }, |
| 3388 | + "sendResolved": { |
| 3389 | + "default": true, |
| 3390 | + "description": "Whether to notify about resolved alerts.", |
| 3391 | + "type": "boolean" |
| 3392 | + }, |
3278 | 3393 | "tags": {
|
3279 | 3394 | "description": "Comma separated list of tags attached to the notifications.",
|
3280 | 3395 | "maxLength": 400,
|
|
3294 | 3409 | "description": "Microsoft Teams webhooks require special handling. If you set this property to true, it is treated as such",
|
3295 | 3410 | "type": "boolean"
|
3296 | 3411 | },
|
| 3412 | + "sendResolved": { |
| 3413 | + "default": true, |
| 3414 | + "description": "Whether to notify about resolved alerts.", |
| 3415 | + "type": "boolean" |
| 3416 | + }, |
3297 | 3417 | "url": {
|
3298 | 3418 | "description": "The endpoint to send HTTP POST requests to.\n`Additional Validators:`\n* must be a syntactically valid url address",
|
3299 | 3419 | "maxLength": 500,
|
|
3316 | 3436 | "route": {
|
3317 | 3437 | "description": "The root node of the routing tree.",
|
3318 | 3438 | "properties": {
|
| 3439 | + "continue": { |
| 3440 | + "default": false, |
| 3441 | + "description": "Whether an alert should continue matching subsequent sibling nodes.", |
| 3442 | + "type": "boolean" |
| 3443 | + }, |
3319 | 3444 | "groupBy": {
|
3320 | 3445 | "description": "The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping.",
|
3321 | 3446 | "items": {
|
|
3341 | 3466 | "type": "string"
|
3342 | 3467 | },
|
3343 | 3468 | "match": {
|
| 3469 | + "deprecated": true, |
3344 | 3470 | "description": "map of key:value. A set of equality matchers an alert has to fulfill to match the node. \n`Additional Validators:`\n* should not contain more than 5 keys\n* each key and value should not be longer than 200 characters\n* key and values should only include the characters: a-zA-Z0-9_./@\u0026?:-",
|
3345 | 3471 | "type": "object"
|
3346 | 3472 | },
|
3347 | 3473 | "matchRe": {
|
| 3474 | + "deprecated": true, |
3348 | 3475 | "description": "map of key:value. A set of regex-matchers an alert has to fulfill to match the node. \n`Additional Validators:`\n* should not contain more than 5 keys\n* each key and value should not be longer than 200 characters",
|
3349 | 3476 | "type": "object"
|
3350 | 3477 | },
|
|
3376 | 3503 | "items": {
|
3377 | 3504 | "description": "As in one level above",
|
3378 | 3505 | "properties": {
|
| 3506 | + "continue": { |
| 3507 | + "default": false, |
| 3508 | + "description": "As in one level above", |
| 3509 | + "type": "boolean" |
| 3510 | + }, |
3379 | 3511 | "groupBy": {
|
3380 | 3512 | "items": {
|
3381 | 3513 | "description": "As in one level above",
|
|
3397 | 3529 | "type": "string"
|
3398 | 3530 | },
|
3399 | 3531 | "match": {
|
| 3532 | + "deprecated": true, |
3400 | 3533 | "description": "As in one level above",
|
3401 | 3534 | "type": "object"
|
3402 | 3535 | },
|
3403 | 3536 | "matchRe": {
|
| 3537 | + "deprecated": true, |
3404 | 3538 | "description": "As in one level above",
|
3405 | 3539 | "type": "object"
|
3406 | 3540 | },
|
| 3541 | + "matchers": { |
| 3542 | + "description": "As in one level above", |
| 3543 | + "items": { |
| 3544 | + "description": "Item of matchers", |
| 3545 | + "maxLength": 200, |
| 3546 | + "minLength": 1, |
| 3547 | + "type": "string" |
| 3548 | + }, |
| 3549 | + "type": "array" |
| 3550 | + }, |
3407 | 3551 | "receiver": {
|
3408 | 3552 | "description": "As in one level above",
|
3409 | 3553 | "maxLength": 100,
|
|
0 commit comments