Skip to content

Commit 447f793

Browse files
committed
Add missing WS attribute
1 parent 387038c commit 447f793

File tree

6 files changed

+23
-4
lines changed

6 files changed

+23
-4
lines changed

test/v2.9/all.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,8 @@
445445
"pong_wait": "60s",
446446
"ping_period": "54s",
447447
"max_retries": 0,
448-
"backoff_strategy": "exponential"
448+
"backoff_strategy": "exponential",
449+
"disable_otel_metrics": true
449450
},
450451
"modifier/response-body-generator": {
451452
"content_type": "application/json",

v2.8/backend/grpc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
},
7171
"output_remove_unset_values": {
7272
"title": "Output removes unset values",
73-
"description": "When the response has missing fields from the definition, they are returned with default values. Setting this flag to `true` removes those fields from the response, while setting it to `false` or not setting it, returns all the fields in the definition.\n\nSee: https://www.krakend.io/docs/enterprise/backends/grpc/",
73+
"description": "This attribute defines what to do when a field that is declared in the definition does not exist in the backend response. When the flag is `true`, any fields in the definition that are not present in the backend response are removed before returning the content to the user. When the flag is `false` missing fields are returned but set with a zeroed-value depending on its type (zero, nil, false, etc).\n\nSee: https://www.krakend.io/docs/enterprise/backends/grpc/",
7474
"default": false,
7575
"type": "boolean"
7676
},

v2.8/websocket.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@
2323
"default": false,
2424
"type": "boolean"
2525
},
26+
"disable_otel_metrics": {
27+
"title": "Disable OpenTelemetry metrics",
28+
"description": "Disables the OpenTelemetry metrics for the websocket connections.\n\nSee: https://www.krakend.io/docs/enterprise/websockets/",
29+
"default": false,
30+
"type": "boolean"
31+
},
2632
"disconnect_event": {
2733
"title": "Notify disconnections",
2834
"description": "Whether to send notification events to the backend or not when users disconnect from their Websockets connection.\n\nSee: https://www.krakend.io/docs/enterprise/websockets/",

v2.9/backend/grpc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
},
7171
"output_remove_unset_values": {
7272
"title": "Output removes unset values",
73-
"description": "When the response has missing fields from the definition, they are returned with default values. Setting this flag to `true` removes those fields from the response, while setting it to `false` or not setting it, returns all the fields in the definition.\n\nSee: https://www.krakend.io/docs/enterprise/backends/grpc/",
73+
"description": "This attribute defines what to do when a field that is declared in the definition does not exist in the backend response. When the flag is `true`, any fields in the definition that are not present in the backend response are removed before returning the content to the user. When the flag is `false` missing fields are returned but set with a zeroed-value depending on its type (zero, nil, false, etc).\n\nSee: https://www.krakend.io/docs/enterprise/backends/grpc/",
7474
"default": false,
7575
"type": "boolean"
7676
},

v2.9/krakend.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1902,7 +1902,7 @@
19021902
},
19031903
"output_remove_unset_values": {
19041904
"title": "Output removes unset values",
1905-
"description": "When the response has missing fields from the definition, they are returned with default values. Setting this flag to `true` removes those fields from the response, while setting it to `false` or not setting it, returns all the fields in the definition.\n\nSee: https://www.krakend.io/docs/enterprise/backends/grpc/",
1905+
"description": "This attribute defines what to do when a field that is declared in the definition does not exist in the backend response. When the flag is `true`, any fields in the definition that are not present in the backend response are removed before returning the content to the user. When the flag is `false` missing fields are returned but set with a zeroed-value depending on its type (zero, nil, false, etc).\n\nSee: https://www.krakend.io/docs/enterprise/backends/grpc/",
19061906
"default": false,
19071907
"type": "boolean"
19081908
},
@@ -9065,6 +9065,12 @@
90659065
"default": false,
90669066
"type": "boolean"
90679067
},
9068+
"disable_otel_metrics": {
9069+
"title": "Disable OpenTelemetry metrics",
9070+
"description": "Disables the OpenTelemetry metrics for the websocket connections.\n\nSee: https://www.krakend.io/docs/enterprise/websockets/",
9071+
"default": false,
9072+
"type": "boolean"
9073+
},
90689074
"disconnect_event": {
90699075
"title": "Notify disconnections",
90709076
"description": "Whether to send notification events to the backend or not when users disconnect from their Websockets connection.\n\nSee: https://www.krakend.io/docs/enterprise/websockets/",

v2.9/websocket.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@
2323
"default": false,
2424
"type": "boolean"
2525
},
26+
"disable_otel_metrics": {
27+
"title": "Disable OpenTelemetry metrics",
28+
"description": "Disables the OpenTelemetry metrics for the websocket connections.\n\nSee: https://www.krakend.io/docs/enterprise/websockets/",
29+
"default": false,
30+
"type": "boolean"
31+
},
2632
"disconnect_event": {
2733
"title": "Notify disconnections",
2834
"description": "Whether to send notification events to the backend or not when users disconnect from their Websockets connection.\n\nSee: https://www.krakend.io/docs/enterprise/websockets/",

0 commit comments

Comments
 (0)