Skip to content

Commit 841f6e2

Browse files
authored
Add OTEL environment variables to disable traces and metrics exporters in launch.json (kptdev#466)
1 parent b7c244c commit 841f6e2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.vscode/launch.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@
3636
"CERT_STORAGE_DIR": "${workspaceFolder}/.build/pki/tmp",
3737
"WEBHOOK_HOST": "localhost",
3838
"GOOGLE_API_GO_EXPERIMENTAL_DISABLE_NEW_AUTH_LIB": "true",
39+
"OTEL_TRACES_EXPORTER": "none",
40+
"OTEL_METRICS_EXPORTER": "none"
3941
// "CGO_ENABLED": "1" // Enables Race Condition Monitoring
4042
},
4143
// "buildFlags": "-race" // Enables Race Condition Monitoring
@@ -65,6 +67,8 @@
6567
"DB_NAME": "porch",
6668
"DB_USER": "porch",
6769
"DB_PASSWORD": "porch",
70+
"OTEL_TRACES_EXPORTER": "none",
71+
"OTEL_METRICS_EXPORTER": "none"
6872
}
6973
},
7074
{

0 commit comments

Comments
 (0)