AWS Builder Center
Apache SkyWalking Introduces Complete and Native OTLP Trace Analysis

Apache SkyWalking Introduces Complete and Native OTLP Trace Analysis

Turn OpenTelemetry traces into service dashboards, dependency topology, and searchable native spans. Explore the SkyWalking 11.1.0 feature set with the Astronomy Shop demo and connect your own applications.

Apache SkyWalking is introducing complete and native OTLP trace analysis support: receive OpenTelemetry traces, preserve their native structure, derive service metrics and dependency topology, and investigate individual requests in Horizon UI or Grafana.
For teams building on AWS with OpenTelemetry instrumentation, this provides a path from the spans their applications already export to an application observability workflow in SkyWalking. Applications can keep their OpenTelemetry SDKs and automatic instrumentation; a SkyWalking language agent is not required for this OTLP workflow.
The features described in this article are available in Apache SkyWalking 11.1.0.

From OTLP ingestion to application analysis

Receiving a protocol is only the beginning. During an incident, teams also need to know which service is slow, which endpoint is failing, and which dependency connects the affected services.
The new OTLP path brings those views together:
  • Native trace storage preserves OTLP span kinds, typed attributes, resource and instrumentation scope information, events, links, and status.
  • Service analysis derives traffic, latency, success rate, Apdex, and latency percentiles, with endpoint metrics and instance metrics where the required attributes are present.
  • Dependency analysis builds service topology and virtual database, cache, and message broker views from application spans.
  • Trace investigation makes the stored spans searchable through TraceQL and accessible in Horizon UI and Grafana.
This is the complete workflow we are introducing: ingestion, native storage, analysis, topology, and investigation. Its results follow the information supplied by the instrumentation and the analysis rules configured for it.

Preserve the OpenTelemetry data model

Earlier SkyWalking versions stored OTLP traces through a conversion to Zipkin v2. That model cannot represent all OTLP information in its original form: attribute types, INTERNAL span kinds, events, links, and the separation between resource, scope, and span data all need special handling.
Native OTLP storage removes that conversion from the default path. This matters when an investigation depends on an integer attribute retaining its type, an event retaining its attributes, or the instrumentation scope identifying which library produced a span. SkyWalking still applies its service naming and layer conventions when presenting the data.
The OAP, SkyWalking's observability analysis backend, accepts OTLP/gRPC on port  11800  and OTLP/HTTP on port  12800 , with traces sent to  /v1/traces  over HTTP. Applications can export directly or through an OpenTelemetry Collector. See the  OTLP trace setup  for the storage and protocol settings.

Turn spans into dashboards with TAL

The new Trace Analysis Language (TAL) gives SkyWalking a configurable way to interpret incoming spans. The shipped  tal/otlp-general.yaml  rules read OpenTelemetry semantic conventions, including supported older attribute spellings, and produce four analysis layers:
Layer
What it represents
 OTLP_GENERAL 
Applications, their instances, and endpoints
 OTLP_VIRTUAL_DATABASE 
Database dependencies identified by client spans
 OTLP_VIRTUAL_CACHE 
Cache dependencies, including Redis and Valkey
 OTLP_VIRTUAL_MQ 
Message brokers and their queue or topic endpoints
Applications opt into the shipped analysis rules with the resource attribute  service.layer=OTLP_GENERAL . A valid trace without that attribute can still be stored and searched, but it does not produce these dashboards or topology through the shipped rules.
Horizon UI showing the Astronomy Shop cart service metrics and endpoints.

The Astronomy Shop cart service in Horizon UI.
Analysis runs before the receiver's trace storage sampling and storage rate limit. Reducing the number of spans retained by those controls therefore does not reduce the input to the metrics analysis. Sampling in an SDK or Collector is different: SkyWalking can analyze only the spans it receives.
Database client spans also feed slow statement records; the shipped threshold is 200 ms. These virtual dependency views describe access observed by applications. Database internals and broker internals require their own telemetry.

Build topology from the calls that actually happened

A client span often knows the address it called, such as  cart:7070 , while the server span knows the responding application's service name. SkyWalking pairs the client span with its child server span to learn that relationship. The learned mapping is scoped to the caller and the address, so applications in different namespaces can call the same short hostname without sharing one mapping.
Astronomy Shop services connected to databases, caches, and message brokers.

The Astronomy Shop topology, including application services and their dependencies.
A new deployment can briefly show address nodes while those relationships are learned. If an address remains where a service is expected, check that both sides are instrumented and analyzed, and that trace context reaches the callee. This pairing also explains why gateways and routing configurations deserve specific guidance.

Go beyond a simple service-to-service call

Real systems include ingress proxies, canary releases, asynchronous consumers, and clusters reached through several addresses. The SkyWalking repository's documentation includes  OTLP best practices  for those deployments.
Instrumented gateways. An Envoy gateway that emits SERVER and CLIENT spans can appear as  caller → gateway → backend . Give its spans  OTLP_GENERAL  and propagate trace context across both hops. The  Envoy guide  explains the pairing.
nginx with one span per request. Capture the upstream address and use a TAL rule to account for the outgoing hop. The  nginx guide  covers context propagation, sampling, and retries.
Gateways without tracing. Register their addresses in  gateways.yml  and preserve the required Host and trace context information. See  gateways without instrumentation . Splitting one address between service versions through such a gateway is not supported; instrument that gateway.
Canary and blue/green releases. A traced gateway calling each version at a distinct address gives each version its own relationship. A shared address may need a rule that includes a captured routing discriminator. The  canary guide  explains which splits the spans can distinguish.
Message queues. Topology follows  producer → broker → consumer . Both sides must name the same broker for the edges to meet. Instrumentations differ in broker attributes and in whether consumer duration measures processing or receiving. See the  messaging guide .
Database and cache clusters. Use  server-clusters.yml  to consolidate addresses actually reported by clients. The  database and cache guide  covers SDK differences, aliases, and optional system-specific matching.
Service mesh sidecars need a separate decision. Spans labeled  OTLP_MESH  are stored and searchable, but the shipped TAL rules do not derive mesh metrics or topology from them. Use  Envoy access log analysis  for those mesh views. When application OTLP spans drive application topology, turn off sidecar tracing for the same hops and preserve context propagation: inserting sidecar spans between an application's CLIENT and SERVER spans breaks their direct pairing.
TAL also supports custom analysis. Start from the shipped rules when adapting a gateway or dependency naming convention. If a custom file replaces  otlp-general , configure it in place of the original, so both do not count the same spans. Keep rule files consistent across OAP nodes, including Aggregators, and restart after changes. The  TAL documentation  describes the language and its extension points.

Try the complete workflow with Astronomy Shop

The  SkyWalking Showcase  runs the OpenTelemetry Astronomy Shop with its instrumented services, dependencies, Collector, and load generator, alongside OAP, BanyanDB, Horizon UI, and optional Grafana.
With Git, Make, and Docker available, allow about 10 GB of Docker memory and run:
git clone https://github.com/apache/skywalking-showcase.git
cd skywalking-showcase
make deploy.docker FEATURE_FLAGS=single-node,otlp-trace,grafana
Once the containers are healthy, open Horizon UI at  http://localhost:8081  and select OPENTELEMETRY → OTLP Service. The shop is at  http://localhost:8088 , and Grafana is at  http://localhost:3000 . Horizon and Grafana use  admin  /  admin  in this local showcase. The load generator creates traffic automatically.
Start with a service dashboard, follow its dependency topology, then open OTLP Traces to investigate a request. For example:
{resource.service.name="otel-demo::checkout" && name="oteldemo.CheckoutService/PlaceOrder"}
A checkout trace across Astronomy Shop services, displayed in Horizon UI.

A checkout trace spanning the demo's services, viewed in Horizon UI.
Grafana uses the same trace data through a Tempo datasource at  http://<oap-host>:3200/otlp . For a separate Grafana 12 or later installation, disable the datasource's Streaming option and follow the  Grafana setup guide .
Remove the showcase when finished:
make undeploy.docker FEATURE_FLAGS=single-node,otlp-trace,grafana

Connect your own OpenTelemetry applications

In an OAP build with these features, native OTLP receiving and storage are enabled by default. Enable the OTLP TraceQL datasource with these OAP environment settings:
SW_TRACEQL=default
SW_TRACEQL_ENABLE_DATASOURCE_OTLP=true
SW_OTEL_RECEIVER_OTLP_SERVICE_GROUP=service.namespace
The third setting is optional. It groups services by namespace, so  cart  in namespace  shop  appears as  shop::cart .
For an application whose SDK supports environment configuration, the following illustrates direct OTLP/gRPC export. Replace the host and instance ID for your deployment, and preserve any resource attributes your application already sets:
export OTEL_SERVICE_NAME=cart
export OTEL_EXPORTER_OTLP_PROTOCOL=grpc
export OTEL_EXPORTER_OTLP_ENDPOINT="http://<oap-host>:11800"
export OTEL_RESOURCE_ATTRIBUTES="service.layer=OTLP_GENERAL,service.namespace=shop,service.instance.id=cart-1"
Set  service.instance.id  to an identity appropriate for each running instance, such as a pod name. If applications already export through a Collector, keep that route and insert  service.layer=OTLP_GENERAL  into the application trace pipeline with a resource processor. Use  action: insert  to preserve layers that senders explicitly set.
Point Horizon's  HORIZON_OAP_TRACEQL_URL  at  http://<oap-host>:3200  alongside its existing query and admin connections. The  trace analysis guide  covers sampling, deduplication, cluster operation, and metric definitions. When adapting existing SkyWalking agent dashboards or alarms, check those definitions: OTLP metrics use the  otlp_  prefix, and percentile buckets differ from the agent analysis path.
With this feature, OpenTelemetry instrumentation becomes an input to SkyWalking's application analysis: teams can move from service health to dependency relationships and then inspect the native spans behind a request. Start with the showcase, then use the scenario guides to fit the analysis to the traffic patterns and instrumentation in your own system.
For setup instructions, TAL configuration, and best practices, see the  Apache SkyWalking documentation .
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article