Skip to content

Commit 88444b9

Browse files
committed
Fjerne tracing
1 parent 4130e69 commit 88444b9

File tree

1 file changed

+3
-9
lines changed
  • apps/dine-pleiepenger/src/faro

1 file changed

+3
-9
lines changed

apps/dine-pleiepenger/src/faro/faro.ts

+3-9
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { Faro, getWebInstrumentations, initializeFaro, LogLevel } from '@grafana/faro-web-sdk';
2-
import { TracingInstrumentation } from '@grafana/faro-web-tracing';
3-
import { browserEnv } from '../utils/env';
1+
import { Faro, initializeFaro, LogLevel } from '@grafana/faro-web-sdk';
42
import nais from '../../nais.js';
3+
import { browserEnv } from '../utils/env';
4+
55
let faro: Faro | null = null;
66

77
export function initInstrumentation(): void {
@@ -15,12 +15,6 @@ export function getFaro(): Faro {
1515
faro = initializeFaro({
1616
url: browserEnv.NEXT_PUBLIC_TELEMETRY_URL,
1717
app: nais.app,
18-
instrumentations: [
19-
...getWebInstrumentations({
20-
captureConsole: false,
21-
}),
22-
new TracingInstrumentation(),
23-
],
2418
});
2519
return faro;
2620
}

0 commit comments

Comments
 (0)