diff --git a/src/exporter.ts b/src/exporter.ts index f6f2a42..10317e8 100644 --- a/src/exporter.ts +++ b/src/exporter.ts @@ -43,7 +43,10 @@ export class OTLPExporter implements SpanExporter { } send(items: any[], onSuccess: () => void, onError: (error: OTLPExporterError) => void): void { - const exportMessage = createExportTraceServiceRequest(items) + const exportMessage = createExportTraceServiceRequest(items, { + useHex: true, + useLongBits: false, + }) const body = JSON.stringify(exportMessage) const params: RequestInit = { method: 'POST',