Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 543 Bytes

Exporters.md

File metadata and controls

14 lines (11 loc) · 543 Bytes

Exporters

Splunk's RUM uses Zipkin exporter for sending data to beaconUrl endpoint. Other exporters can be registered to the OpenTelemetry provider available on SplunkRum.provider:

import SplunkRum from '@splunk/otel-js-browser'
import {BatchSpanProcessor} from '@opentelemetry/tracing'
import {CollectorTraceExporter} from '@opentelemetry/exporter-collector'
 
const exporter = new CollectorTraceExporter({
   url: 'https://collector.example.com'
});
SplunkRum.provider.addSpanProcessor(new BatchSpanProcessor(exporter));