Skip to content

Commit 17128d9

Browse files
committed
fix: try and suppress sonar warning
1 parent 8d223e2 commit 17128d9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/telemetry/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ import type { ConfigurationSchema } from '../config/schema.js';
2828
import { getAutoInstrumentations } from './instrumentations.js';
2929
import { DummySpanExporter } from './DummyExporter.js';
3030

31-
const baseDefaultOtlpUrl = new URL('https://otlp-exporter:4318/v1').toString();
31+
/**
32+
* @SuppressWarning(typescript:S5332) - OTLP exporter requires http it seems.
33+
*/
34+
const baseDefaultOtlpUrl = new URL('http://otlp-exporter:4318/v1').toString();
3235

3336
function getSpanExporter() {
3437
if (

0 commit comments

Comments
 (0)