Package

kamon.instrumentation

context

Permalink

package context

Visibility
  1. Public
  2. All

Type Members

  1. trait HasContext extends AnyRef

    Permalink

    Mixin that exposes access to a Context instance captured by an instrumented instance.

    Mixin that exposes access to a Context instance captured by an instrumented instance. The interface exposes means of getting and updating a Context instance, but it does not prescribe any ordering or thread safety guarantees, please refer to the available implementations for more details.

  2. trait HasTimestamp extends AnyRef

    Permalink

    Mixin that exposes access to a timestamp (from the monotonic clock powering System.nanoTime) captured by an instrumented instance.

    Mixin that exposes access to a timestamp (from the monotonic clock powering System.nanoTime) captured by an instrumented instance. The interface exposes means of getting and updating a timestamp, but it does not prescribe any ordering or thread safety guarantees, please refer to the available implementations for more details.

Value Members

  1. object CaptureCurrentContextOnEnter

    Permalink

    Advise that copies the current Context from Kamon into a HasContext instance when the advised method starts executing.

  2. object CaptureCurrentContextOnExit

    Permalink

    Advise that copies the current Context from Kamon into a HasContext instance when the advised method finishes executing.

  3. object CaptureCurrentTimestampOnEnter

    Permalink

    Advise that copies the current System.nanoTime into a HasTimestamp instance when the advised method starts executing.

  4. object CaptureCurrentTimestampOnExit

    Permalink

    Advise that copies the current System.nanoTime into a HasTimestamp instance when the advised method finishes executing.

  5. object HasContext

    Permalink
  6. object HasTimestamp

    Permalink
  7. object InvokeWithCapturedContext

    Permalink

    Advice that sets the Context from a HasContext instance as the current Context while the advised method is invoked.

Ungrouped