Skip to content

Commit bb3d0fa

Browse files
committed
Add OTEL_EXPORTER_OTLP env vars
1 parent 0a74df8 commit bb3d0fa

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

client/src/extension.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,13 @@ export async function activate(context: ExtensionContext) {
6161
const serverOptions: ServerOptions = {
6262
command,
6363
args,
64+
options: {
65+
env: {
66+
...process.env,
67+
OTEL_EXPORTER_OTLP_ENDPOINT: "http://localhost:4707",
68+
OTEL_EXPORTER_OTLP_PROTOCOL: "http/protobuf",
69+
},
70+
},
6471
};
6572

6673
const userInitOptions = workspace

0 commit comments

Comments
 (0)