Skip to content

Commit 5d4ad01

Browse files
OAS Update
1 parent 5b0e3b8 commit 5d4ad01

File tree

1 file changed

+144
-0
lines changed

1 file changed

+144
-0
lines changed

services/observability/v1/observability.json

Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,11 @@
294294
"minLength": 1,
295295
"type": "string"
296296
},
297+
"sendResolved": {
298+
"default": false,
299+
"description": "Whether to notify about resolved alerts.",
300+
"type": "boolean"
301+
},
297302
"smarthost": {
298303
"description": "The SMTP host through which emails are sent.\n`Additional Validators:`\n* should only include the characters: a-zA-Z0-9_./@\u0026?:-",
299304
"maxLength": 200,
@@ -333,6 +338,17 @@
333338
"minLength": 1,
334339
"type": "string"
335340
},
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+
},
336352
"tags": {
337353
"description": "Comma separated list of tags attached to the notifications.",
338354
"maxLength": 400,
@@ -352,6 +368,11 @@
352368
"description": "Microsoft Teams webhooks require special handling. If you set this property to true, it is treated as such",
353369
"type": "boolean"
354370
},
371+
"sendResolved": {
372+
"default": true,
373+
"description": "Whether to notify about resolved alerts.",
374+
"type": "boolean"
375+
},
355376
"url": {
356377
"description": "The endpoint to send HTTP POST requests to.\n`Additional Validators:`\n* must be a syntactically valid url address",
357378
"maxLength": 500,
@@ -372,6 +393,11 @@
372393
"CreateAlertConfigRoutePayload": {
373394
"description": "The root node of the routing tree.",
374395
"properties": {
396+
"continue": {
397+
"default": false,
398+
"description": "Whether an alert should continue matching subsequent sibling nodes.",
399+
"type": "boolean"
400+
},
375401
"groupBy": {
376402
"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.",
377403
"items": {
@@ -397,10 +423,12 @@
397423
"type": "string"
398424
},
399425
"match": {
426+
"deprecated": true,
400427
"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?:-",
401428
"type": "object"
402429
},
403430
"matchRe": {
431+
"deprecated": true,
404432
"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",
405433
"type": "object"
406434
},
@@ -432,6 +460,11 @@
432460
"items": {
433461
"description": "As in one level above",
434462
"properties": {
463+
"continue": {
464+
"default": false,
465+
"description": "As in one level above",
466+
"type": "boolean"
467+
},
435468
"groupBy": {
436469
"items": {
437470
"description": "As in one level above",
@@ -453,13 +486,25 @@
453486
"type": "string"
454487
},
455488
"match": {
489+
"deprecated": true,
456490
"description": "As in one level above",
457491
"type": "object"
458492
},
459493
"matchRe": {
494+
"deprecated": true,
460495
"description": "As in one level above",
461496
"type": "object"
462497
},
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+
},
463508
"receiver": {
464509
"description": "As in one level above",
465510
"maxLength": 100,
@@ -2673,6 +2718,15 @@
26732718
"title": "Matchre",
26742719
"type": "object"
26752720
},
2721+
"matchers": {
2722+
"items": {
2723+
"maxLength": 200,
2724+
"minLength": 1,
2725+
"type": "string"
2726+
},
2727+
"maxItems": 5,
2728+
"type": "array"
2729+
},
26762730
"receiver": {
26772731
"maxLength": 200,
26782732
"minLength": 1,
@@ -2917,6 +2971,11 @@
29172971
"minLength": 1,
29182972
"type": "string"
29192973
},
2974+
"sendResolved": {
2975+
"default": false,
2976+
"description": "Whether to notify about resolved alerts.",
2977+
"type": "boolean"
2978+
},
29202979
"smarthost": {
29212980
"description": "The SMTP host through which emails are sent.\n`Additional Validators:`\n* should only include the characters: a-zA-Z0-9_./@\u0026?:-",
29222981
"maxLength": 200,
@@ -2956,6 +3015,17 @@
29563015
"minLength": 1,
29573016
"type": "string"
29583017
},
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+
},
29593029
"tags": {
29603030
"description": "Comma separated list of tags attached to the notifications.",
29613031
"maxLength": 400,
@@ -2975,6 +3045,11 @@
29753045
"description": "Microsoft Teams webhooks require special handling. If you set this property to true, it is treated as such",
29763046
"type": "boolean"
29773047
},
3048+
"sendResolved": {
3049+
"default": true,
3050+
"description": "Whether to notify about resolved alerts.",
3051+
"type": "boolean"
3052+
},
29783053
"url": {
29793054
"description": "The endpoint to send HTTP POST requests to.\n`Additional Validators:`\n* must be a syntactically valid url address",
29803055
"maxLength": 500,
@@ -2995,6 +3070,11 @@
29953070
"UpdateAlertConfigRoutePayload": {
29963071
"description": "The root node of the routing tree.",
29973072
"properties": {
3073+
"continue": {
3074+
"default": false,
3075+
"description": "Whether an alert should continue matching subsequent sibling nodes.",
3076+
"type": "boolean"
3077+
},
29983078
"groupBy": {
29993079
"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.",
30003080
"items": {
@@ -3020,10 +3100,12 @@
30203100
"type": "string"
30213101
},
30223102
"match": {
3103+
"deprecated": true,
30233104
"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?:-",
30243105
"type": "object"
30253106
},
30263107
"matchRe": {
3108+
"deprecated": true,
30273109
"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",
30283110
"type": "object"
30293111
},
@@ -3055,6 +3137,11 @@
30553137
"items": {
30563138
"description": "As in one level above",
30573139
"properties": {
3140+
"continue": {
3141+
"default": false,
3142+
"description": "As in one level above",
3143+
"type": "boolean"
3144+
},
30583145
"groupBy": {
30593146
"items": {
30603147
"description": "As in one level above",
@@ -3076,13 +3163,25 @@
30763163
"type": "string"
30773164
},
30783165
"match": {
3166+
"deprecated": true,
30793167
"description": "As in one level above",
30803168
"type": "object"
30813169
},
30823170
"matchRe": {
3171+
"deprecated": true,
30833172
"description": "As in one level above",
30843173
"type": "object"
30853174
},
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+
},
30863185
"receiver": {
30873186
"description": "As in one level above",
30883187
"maxLength": 100,
@@ -3236,6 +3335,11 @@
32363335
"minLength": 1,
32373336
"type": "string"
32383337
},
3338+
"sendResolved": {
3339+
"default": false,
3340+
"description": "Whether to notify about resolved alerts.",
3341+
"type": "boolean"
3342+
},
32393343
"smarthost": {
32403344
"description": "The SMTP host through which emails are sent.\n`Additional Validators:`\n* should only include the characters: a-zA-Z0-9_./@\u0026?:-",
32413345
"maxLength": 200,
@@ -3275,6 +3379,17 @@
32753379
"minLength": 1,
32763380
"type": "string"
32773381
},
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+
},
32783393
"tags": {
32793394
"description": "Comma separated list of tags attached to the notifications.",
32803395
"maxLength": 400,
@@ -3294,6 +3409,11 @@
32943409
"description": "Microsoft Teams webhooks require special handling. If you set this property to true, it is treated as such",
32953410
"type": "boolean"
32963411
},
3412+
"sendResolved": {
3413+
"default": true,
3414+
"description": "Whether to notify about resolved alerts.",
3415+
"type": "boolean"
3416+
},
32973417
"url": {
32983418
"description": "The endpoint to send HTTP POST requests to.\n`Additional Validators:`\n* must be a syntactically valid url address",
32993419
"maxLength": 500,
@@ -3316,6 +3436,11 @@
33163436
"route": {
33173437
"description": "The root node of the routing tree.",
33183438
"properties": {
3439+
"continue": {
3440+
"default": false,
3441+
"description": "Whether an alert should continue matching subsequent sibling nodes.",
3442+
"type": "boolean"
3443+
},
33193444
"groupBy": {
33203445
"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.",
33213446
"items": {
@@ -3341,10 +3466,12 @@
33413466
"type": "string"
33423467
},
33433468
"match": {
3469+
"deprecated": true,
33443470
"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?:-",
33453471
"type": "object"
33463472
},
33473473
"matchRe": {
3474+
"deprecated": true,
33483475
"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",
33493476
"type": "object"
33503477
},
@@ -3376,6 +3503,11 @@
33763503
"items": {
33773504
"description": "As in one level above",
33783505
"properties": {
3506+
"continue": {
3507+
"default": false,
3508+
"description": "As in one level above",
3509+
"type": "boolean"
3510+
},
33793511
"groupBy": {
33803512
"items": {
33813513
"description": "As in one level above",
@@ -3397,13 +3529,25 @@
33973529
"type": "string"
33983530
},
33993531
"match": {
3532+
"deprecated": true,
34003533
"description": "As in one level above",
34013534
"type": "object"
34023535
},
34033536
"matchRe": {
3537+
"deprecated": true,
34043538
"description": "As in one level above",
34053539
"type": "object"
34063540
},
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+
},
34073551
"receiver": {
34083552
"description": "As in one level above",
34093553
"maxLength": 100,

0 commit comments

Comments
 (0)