From 412f04f856c2a51b4398e17825244855cf0bfca8 Mon Sep 17 00:00:00 2001 From: "marco.schaefer" Date: Mon, 27 Nov 2023 10:28:59 +0100 Subject: [PATCH] fix: send strings instead of LonBits --- packages/web-tracing/src/faroTraceExporter.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/web-tracing/src/faroTraceExporter.ts b/packages/web-tracing/src/faroTraceExporter.ts index 7234ddb2c..8962cd793 100644 --- a/packages/web-tracing/src/faroTraceExporter.ts +++ b/packages/web-tracing/src/faroTraceExporter.ts @@ -9,7 +9,9 @@ export class FaroTraceExporter implements SpanExporter { constructor(private config: FaroTraceExporterConfig) {} export(spans: ReadableSpan[], resultCallback: (result: ExportResult) => void): void { - const traceEvent = createExportTraceServiceRequest(spans, { useHex: true }); + const traceEvent = createExportTraceServiceRequest(spans, { useHex: true, useLongBits: false }); + + console.log('traceEvent :>> ', traceEvent); this.config.api.pushTraces(traceEvent);