com.github.levkhomich.akka.tracing
Creates parent-child relationship between specified messages.
Creates parent-child relationship between specified messages. Child message is sampled only if parent message was already sampled.
child message
parent message
Some(metadata) if child span was sampled or None otherwise
Exports tracing metadata related to specified message.
Exports tracing metadata related to specified message.
traced message
Some(metadata) if span was found None if it was not sampled or was already flushed
Flushes all tracing data related to request.
Flushes all tracing data related to request.
traced message
Imports metadata to the system, allowing to continue tracing.
Imports metadata to the system, allowing to continue tracing. This call ignores sampling policy.
child message
metadata to be imported
service name
Attaches annotation to message's span.
Attaches annotation to message's span.
traced message
recorded annotation
Attaches stack trace annotation to message's span.
Attaches stack trace annotation to message's span.
traced message
exception to be added
Attaches text annotation to message's span.
Attaches text annotation to message's span.
traced message
annotation text
Attaches key-value annotation to message's span.
Attaches key-value annotation to message's span.
traced message
key
value
Attaches key-value annotation to message's span.
Attaches key-value annotation to message's span.
traced message
key
value
Attaches key-value annotation to message's span.
Attaches key-value annotation to message's span.
traced message
key
value
Attaches key-value annotation to message's span.
Attaches key-value annotation to message's span.
traced message
key
value
Attaches key-value annotation to message's span.
Attaches key-value annotation to message's span.
traced message
key
value
Attaches key-value annotation to message's span.
Attaches key-value annotation to message's span.
traced message
key
value
Attaches key-value annotation to message's span.
Attaches key-value annotation to message's span.
traced message
key
value
Attaches key-value annotation to message's span.
Attaches key-value annotation to message's span.
traced message
key
value
Applies sampling to specified message on server side.
Applies sampling to specified message on server side. If message was sampled, starts a trace and adds ServerReceived annotation.
Sampling rate is defined by akka.tracing.sample-rate setting.
traced message
service name
true if request should be traced ignoring akka.tracing.sample-rate setting
Some(metadata) if span was created or None otherwise
Applies sampling to specified message on client side.
Applies sampling to specified message on client side. If message was sampled, starts a trace and adds ClientSend annotation.
Sampling rate is defined by akka.tracing.sample-rate setting.
traced message
service name
true if request should be traced ignoring akka.tracing.sample-rate setting
Some(metadata) if span was sampled or None otherwise
Marks request processing start.
Marks request processing start. Sampling must be performed before this call.
traced message
service name
Submits specified spans skipping any content checks.
Submits specified spans skipping any content checks.
spans to be sent
Marks request processing finish by adding ServerSend annotation, flushes associated trace.
Marks request processing finish by adding ServerSend annotation, flushes associated trace.
traced message
(Since version 0.5) Use record(ts, TracingAnnotations.ServerSend) instead
Starts a trace and adds ClientSend annotation to it.
Starts a trace and adds ClientSend annotation to it.
This call ignores akka.tracing.sample-rate setting.
traced message
service name
Some(metadata) if span was sampled or None otherwise
(Since version 0.5) Use sample(ts, service, force = true)
Akka extension providing tracing functionality.