Skip to content

Commit

Permalink
fix: send strings instead of LonBits
Browse files Browse the repository at this point in the history
  • Loading branch information
codecapitano committed Nov 27, 2023
1 parent b897cd0 commit 412f04f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/web-tracing/src/faroTraceExporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 412f04f

Please sign in to comment.