Search code examples
javatracezipkin

Is zipkin suitable for tracing method invocation?


I read about zipkin, but from my understanding, zipkin is suitable for tracking history of network requests and time (via Finagle). However, is it possible for me to use zipkin to track java method invocation time and location? For example, I want to track how long it takes for foobar() to execute, and what are other methods internally called by foobar() and its execution time and so on.


Solution

  • It's not suitable, Zipkin is about tracing in distributed systems. I would say you would want something like a profiler, such as Visual VM, - free and included with the JDK, or YourKit. Other profilers are available.