Compatible span formats for Splunk APM π
Splunk APM supports a variety of span formats, depending on which agent, collector, or endpoint receives and exports trace data. For more information about instrumenting applications for Splunk APM, see Instrument your applications and services to get spans into Splunk APM.
For more information on the ingest API endpoints, see Send APM traces .
Span formats compatible with the OpenTelemetry Collector π
The Splunk Distribution of the OpenTelemetry Collector can collect spans in the following format:
Jaeger: gRPC and Thrift
Zipkin v1, v2 JSON
Splunk APM Protocol (SAPM)
OpenTelemetry Protocol (OTLP)
The following examples show how to configure receivers in the collector configuration file. You can use multiple receivers according to your needs.
# To receive spans in Jaeger Thrift format
receivers:
jaeger:
protocols:
grpc:
endpoint: 0.0.0.0:14250
thrift_binary:
endpoint: 0.0.0.0:6832
thrift_compact:
endpoint: 0.0.0.0:6831
thrift_http:
endpoint: 0.0.0.0:14268
# To receive spans in Zipkin format
receivers:
zipkin:
endpoint: 0.0.0.0:9411
# To receive spans in SAPM format
receivers:
sapm:
endpoint: 0.0.0.0:7276
# To receive spans in OTLP format
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318
See Get started: Understand and use the Collector for more information on Collector configuration.
Span formats compatible with the ingest endpoint π
If you canβt use or need to bypass the Splunk OpenTelemetry Collector, you can send your span data directly to the ingest API endpoints of Splunk Observability Cloud.
The ingest endpoint for Splunk Observability Cloud at https://ingest.<realm>.signalfx.com/v2/trace
can receive spans directly in the following formats:
OTLP at
/v2/trace/otlp
withContent-Type:application/x-protobuf
Jaeger Thrift with
Content-Type:application/x-thrift
Zipkin v1, v2 with
Content-Type:application/json
SAPM with
Content-Type:application/x-protobuf
In addition, the following endpoints are available:
OTLP at
/v2/trace/otlp
withContent-Type:application/x-protobuf
Jaeger Thrift at
/v2/trace/jaegerthrift
withContent-Type:application/x-thrift
Zipkin v1, v2 at
/v2/trace/signalfxv1
withContent-Type:application/json
SAPM at
/v2/trace/sapm
withContent-Type:application/x-protobuf
For more information on the ingest API endpoints, see Send APM traces .
Note
You can also send trace data in OTLP format directly to Splunk Observability Cloud using the gRPC endpoint, either directly or from an OpenTelemetry Collector. See Send traces to Splunk Observability Cloud using the gRPC endpoint.