com.github.levkhomich.akka.tracing

TracingExtensionImpl

class TracingExtensionImpl extends Extension

Tracer instance providing trace related methods.

Linear Supertypes
Extension, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TracingExtensionImpl
  2. Extension
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TracingExtensionImpl(system: ActorSystem)

    system

    parent actor system

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def finish(ts: BaseTracingSupport): Unit

  10. def forcedSample(ts: BaseTracingSupport, service: String): Unit

    Enables message tracing, names (rpc name is assumed to be message's class name) and samples it.

    Enables message tracing, names (rpc name is assumed to be message's class name) and samples it. Message will be traced ignoring akka.tracing.sample-rate setting.

    ts

    traced message

    service

    service name

  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  17. def record(ts: BaseTracingSupport, e: Throwable): Unit

    Records exception's stack trace to trace.

    Records exception's stack trace to trace.

    ts

    traced message

    e

    recorded exception

  18. def record(ts: BaseTracingSupport, msg: String): Unit

    Records string message and attaches it to timeline.

    Records string message and attaches it to timeline.

    ts

    traced message

    msg

    recorded string

  19. def recordKeyValue(ts: BaseTracingSupport, key: String, value: ByteBuffer): Unit

    Records key-value pair and attaches it to trace's binary annotations.

    Records key-value pair and attaches it to trace's binary annotations.

    ts

    traced message

    key

    recorded key

    value

    recorded value

  20. def recordKeyValue(ts: BaseTracingSupport, key: String, value: Array[Byte]): Unit

    Records key-value pair and attaches it to trace's binary annotations.

    Records key-value pair and attaches it to trace's binary annotations.

    ts

    traced message

    key

    recorded key

    value

    recorded value

  21. def recordKeyValue(ts: BaseTracingSupport, key: String, value: Short): Unit

    Records key-value pair and attaches it to trace's binary annotations.

    Records key-value pair and attaches it to trace's binary annotations.

    ts

    traced message

    key

    recorded key

    value

    recorded value

  22. def recordKeyValue(ts: BaseTracingSupport, key: String, value: Double): Unit

    Records key-value pair and attaches it to trace's binary annotations.

    Records key-value pair and attaches it to trace's binary annotations.

    ts

    traced message

    key

    recorded key

    value

    recorded value

  23. def recordKeyValue(ts: BaseTracingSupport, key: String, value: Boolean): Unit

    Records key-value pair and attaches it to trace's binary annotations.

    Records key-value pair and attaches it to trace's binary annotations.

    ts

    traced message

    key

    recorded key

    value

    recorded value

  24. def recordKeyValue(ts: BaseTracingSupport, key: String, value: Long): Unit

    Records key-value pair and attaches it to trace's binary annotations.

    Records key-value pair and attaches it to trace's binary annotations.

    ts

    traced message

    key

    recorded key

    value

    recorded value

  25. def recordKeyValue(ts: BaseTracingSupport, key: String, value: Int): Unit

    Records key-value pair and attaches it to trace's binary annotations.

    Records key-value pair and attaches it to trace's binary annotations.

    ts

    traced message

    key

    recorded key

    value

    recorded value

  26. def recordKeyValue(ts: BaseTracingSupport, key: String, value: String): Unit

    Records key-value pair and attaches it to trace's binary annotations.

    Records key-value pair and attaches it to trace's binary annotations.

    ts

    traced message

    key

    recorded key

    value

    recorded value

  27. def sample(ts: BaseTracingSupport, service: String): Unit

    Enables message tracing, names (rpc name is assumed to be message's class name) and samples it.

    Enables message tracing, names (rpc name is assumed to be message's class name) and samples it. After sampling any nth message (defined by akka.tracing.sample-rate setting) will be actually traced.

    ts

    traced message

    service

    service name

  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. def toString(): String

    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def sample(ts: BaseTracingSupport, service: String, rpc: String): Unit

    Enables message tracing, names and samples it.

    Enables message tracing, names and samples it. After sampling any nth message (defined by akka.tracing.sample-rate setting) will be actually traced.

    ts

    traced message

    service

    service name

    rpc

    RPC name

    Annotations
    @deprecated
    Deprecated

    (Since version 0.4) override BaseTracingSupport.spanName and use sample(ts, service) instead

Inherited from Extension

Inherited from AnyRef

Inherited from Any

Ungrouped