Back to Skywalking

OpenTelemetry Trace Format

docs/en/setup/backend/otlp-trace.md

11.0.01.4 KB
Original Source

OpenTelemetry Trace Format

SkyWalking can receive traces in OTLP format and convert them to Zipkin Trace format eventually. For data analysis and queries related to Zipkin Trace, please refer to the relevant documentation.

OTLP Trace handler references the Zipkin Exporter in the OpenTelemetry Collector to convert the data format.

Supported Protocols

Both OTLP/gRPC and OTLP/HTTP are supported for traces, logs, and metrics:

SignalOTLP/gRPC (port 11800)OTLP/HTTP (port 12800)
TracesgRPC TraceService/ExportPOST /v1/traces
LogsgRPC LogsService/ExportPOST /v1/logs
MetricsgRPC MetricsService/ExportPOST /v1/metrics

OTLP/HTTP supports both application/x-protobuf and application/json content types.

Set up backend receiver

  1. Make sure to enable otlp-traces handler in OTLP receiver of application.yml.
yaml
receiver-otel:
  selector: default
  default:
    enabledHandlers: otlp-traces
  1. Make sure to enable zipkin receiver and zipkin query in application.yml for config the zipkin.

Setup Query and Lens UI

Please read deploy Lens UI documentation for query OTLP traces.