Skip to content

Commit f8e8fa9

Browse files
committed
Switches to dev when debugging
1 parent 2ad0de9 commit f8e8fa9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/telemetry/openTelemetryProvider.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ export class OpenTelemetryProvider implements TelemetryProvider {
4040
}
4141

4242
const exporter = new OTLPTraceExporter({
43-
url: 'https://otel.gitkraken.com:4318/v1/traces',
43+
url: debugging
44+
? 'https://otel-dev.gitkraken.com:4318/v1/traces'
45+
: 'https://otel.gitkraken.com:4318/v1/traces',
4446
compression: 'gzip' as any,
4547
httpAgentOptions: agent?.options,
4648
});

0 commit comments

Comments
 (0)