Skip to content

Commit 3bce93d

Browse files
authored
add telemetryMode option to host.json (#4078)
Signed-off-by: Juan Pablo Garcia Ripa <sarabadu@gmail.com>
1 parent c084075 commit 3bce93d

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/schemas/json/host.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1491,6 +1491,10 @@
14911491
"description": "Where the language worker supports 'Cancellation', send canceled invocations to the worker. If not set, defaults to true.",
14921492
"type": "boolean",
14931493
"default": true
1494+
},
1495+
"telemetryMode": {
1496+
"description": "Used to enable output of logs and traces in an OpenTelemetry output format to one or more endpoints that support OpenTelemetry.",
1497+
"enum": ["OpenTelemetry"]
14941498
}
14951499
},
14961500
"required": ["version"],

src/test/host/host.v2.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@
200200
"lockAcquisitionTimeout": "00:01:00",
201201
"lockPeriod": "00:00:15"
202202
},
203+
"telemetryMode": "OpenTelemetry",
203204
"version": "2.0",
204205
"watchDirectories": ["Shared", "Test"],
205206
"watchFiles": ["myFile.txt"]

0 commit comments

Comments
 (0)