瀏覽代碼

Switches to dev when debugging

main
Eric Amodio 2 年之前
父節點
當前提交
f8e8fa9de3
共有 1 個檔案被更改,包括 3 行新增1 行删除
  1. +3
    -1
      src/telemetry/openTelemetryProvider.ts

+ 3
- 1
src/telemetry/openTelemetryProvider.ts 查看文件

@ -40,7 +40,9 @@ export class OpenTelemetryProvider implements TelemetryProvider {
}
const exporter = new OTLPTraceExporter({
url: 'https://otel.gitkraken.com:4318/v1/traces',
url: debugging
? 'https://otel-dev.gitkraken.com:4318/v1/traces'
: 'https://otel.gitkraken.com:4318/v1/traces',
compression: 'gzip' as any,
httpAgentOptions: agent?.options,
});

Loading…
取消
儲存