instrument method

Timing instrument (String correlationId String name)

Adds instrumentation to log calls and measure call time. It returns a Timing object that is used to end the time measurement.

  • correlationId (optional) transaction id to trace execution through call chain.
  • name a method name. Returns Timing object to end the time measurement.