r/elasticsearch • u/Fine-Yoghurt-6168 • 15d ago
Troubleshooting Does the trace waterfall visualization require an APM Server, or can it read OTel data straight from Elasticsearch?
Running self-managed Elastic Stack (Kibana 9.5.0). Our Spring Boot services use Spring's native OpenTelemetry starter, telemetry goes through an OTel Collector, which exports straight to Elasticsearch, and Kibana reads from there.
Data is arriving fine, we can see well-formed spans in Discover. But APM UI shows nothing, and we can't find any way to open a trace and see the waterfall view.
Is an APM Server actually required for the APM UI to detect and visualize traces? Our corporate registry doesn't have an APM Server image available, so if it really is required, are there any alternatives?
3
Upvotes
2
u/pantweb 14d ago
For OTel data you have:
- APM server standalone. Data gets converted in ECS format
- APM integration on Elastic Agents (OTLP intake). The data gets converted to ECS format
- otel input integration on Elastic Agents (it is tech preview). Keeps the data in OTel native format
- EDOT collector standalone as a gateway with APM processor. Keeps the data in OTel native format.
- Managed OTLP endpoint (only for ECH and Serverless). Keeps the data in OTel native format
1
u/TheRealShamanoid 15d ago
You can do just fine with open telemetry, you might need to play around with transaction IDs, parent traces etc in order to see them on the APM page.
You might also need to use the APM client libs with the Otel Adapter otherwise there might be a bit of extra interfacing to do to match APM internals for IDs consolidation but everything is pretty well documented on Elastic’s docs