Browse Source

Switches to dev when debugging

main
Eric Amodio 2 years ago
parent
commit
f8e8fa9de3
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/telemetry/openTelemetryProvider.ts

+ 3
- 1
src/telemetry/openTelemetryProvider.ts View File

@ -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…
Cancel
Save