Ask HN: Distributed tracing service with critical path analysis?
The Dapper paper mentions "An engineer working on long tail latency debugging built a small library which infers hierarchical critical paths from DAPI Trace objects. These critical path structures were then used to diagnose problems and prioritize prospective performance improvements for universal
search."
Do any of the distributed tracing services (e.g. Datadog APM, AWS X-Ray) offer this? I don't see any services which tout this functionality.
5 comments
[ 2.8 ms ] story [ 24.7 ms ] thread[0] https://github.com/openzipkin/zipkin
[1] https://github.com/opentracing/opentracing-go
[2] https://github.com/openzipkin/zipkin-go-opentracing
As a Cassandra fan, bonus points that it integrates all the way down into the Cassandra internal request tracing features, afaik the only tracing app/library that does so.
Tracing requests across services and hosts to identify bottlenecks is one reason why Datadog decided to build a tracing component in APM! A flamegraph is one such method to visually infer critical path analysis that Datadog APM supports. Some obvious things to consider are ease of setup and whether the libraries and languages you use are supported. Some not-so-obvious things to consider are:
We're working on additional ways to easily identify critical paths as well.https://github.com/brendangregg/FlameGraph will then create nice graphs that can help spot bottlenecks.