Package

com.github.levkhomich.akka

tracing

Permalink

package tracing

Visibility
  1. Public
  2. All

Type Members

  1. trait ActorTracing extends AroundReceiveOverrideHack

    Permalink

    Trait providing tracing capabilities to Actors.

    Trait providing tracing capabilities to Actors. Use trace field to access them.

    class MyActor extends Actor with ActorTracing {
      def receive = {
        case msg: TracingSupport => trace.record(msg, "received: " + msg)
      }
    }
  2. trait BaseTracingSupport extends Any

    Permalink
  3. final class ResponseTracingSupport[T] extends AnyVal

    Permalink
  4. final case class SpanMetadata(traceId: Long, spanId: Long, parentId: Option[Long], forceSampling: Boolean) extends Product with Serializable

    Permalink

    Case class keeping tracing metadata related to a span.

    Case class keeping tracing metadata related to a span. Mainly used in combination with trace.exportMetadata, trace.importMetadata and variety of sampling call. Can be used for interop with external systems using different instrumentation frameworks such as Brave or Finagle.

  5. trait TracingActorLogging extends DiagnosticActorLogging

    Permalink
  6. sealed abstract class TracingAnnotation extends AnyRef

    Permalink
  7. class TracingExtensionImpl extends Extension

    Permalink

    Akka extension providing tracing functionality.

  8. class TracingLogger extends Actor with ActorTracing

    Permalink
  9. trait TracingSupport extends BaseTracingSupport with Serializable

    Permalink

    Trait to be mixed with messages that should support tracing.

Value Members

  1. object SpanMetadata extends Serializable

    Permalink
  2. object TracingAnnotations

    Permalink
  3. object TracingExtension extends ExtensionId[TracingExtensionImpl] with ExtensionIdProvider

    Permalink

    Tracing extension.

    Tracing extension. Provides tracer for actors mixed with com.github.levkhomich.akka.tracing.ActorTracing.

    Configuration parameters: - akka.tracing.host - Scribe or Zipkin collector host - akka.tracing.port - Scribe or Zipkin collector port (9410 by default) - akka.tracing.sample-rate - trace sample rate, means that every nth message will be sampled - akka.tracing.enabled - defaults to true, can be used to disable tracing - akka.tracing.max-spans-per-second - back pressure setting, allowing to discard any span sampling above specified limit, defaults to 10000

  4. package http

    Permalink
  5. package japi

    Permalink
  6. package pattern

    Permalink
  7. package serialization

    Permalink
  8. package thrift

    Permalink

Ungrouped