ContextPropagationOnly

kamon.instrumentation.pekko.instrumentations.ActorMonitor.ContextPropagationOnly
class ContextPropagationOnly(cellInfo: ActorCellInfo, participatesInTracing: Boolean, trackActiveActors: Boolean) extends ActorMonitor

Basic implementation that only provides Context propagation across Actors.

Attributes

Graph
Supertypes
trait ActorMonitor
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def captureEnvelopeContext(): Context

Captures the Context to be injected in Envelopes for targeting the monitored actor.

Captures the Context to be injected in Envelopes for targeting the monitored actor.

Attributes

Definition Classes
override def captureEnvelopeTimestamp(): Long

Captures the timestamp to be injected in Envelopes for targeting the monitored actor.

Captures the timestamp to be injected in Envelopes for targeting the monitored actor.

Attributes

Definition Classes
override def captureProcessingStartTimestamp(): Long

Captures the timestamp at the instant when message processing starts. The value captured here will be passed to the onMessageProcessingEnd method.

Captures the timestamp at the instant when message processing starts. The value captured here will be passed to the onMessageProcessingEnd method.

Attributes

Definition Classes
def cleanup(): Unit

Callback executed when an Actor has been stopped and any state or resources related to it should be cleaned up.

Callback executed when an Actor has been stopped and any state or resources related to it should be cleaned up.

Attributes

override def onDroppedMessages(count: Long): Unit

Callback executed when messages in the monitored Actor's mailbox need to be dropped.

Callback executed when messages in the monitored Actor's mailbox need to be dropped.

Attributes

Definition Classes
override def onFailure(failure: Throwable): Unit

Callback executed when an exception is thrown by the monitored Actor.

Callback executed when an exception is thrown by the monitored Actor.

Attributes

Definition Classes
override def onMessageProcessingEnd(context: Context, envelopeTimestamp: Long, processingStartTimestamp: Long, stateFromStart: Any): Unit

Callback executed when message processing has ended.

Callback executed when message processing has ended.

Attributes

Definition Classes
override def onMessageProcessingStart(context: Context, envelopeTimestamp: Long, envelope: Envelope): Any

Callback executed when message processing is about to start. Any value returned by this method will be used as the last parameter of the onMessageProcessingEnd method.

Callback executed when message processing is about to start. Any value returned by this method will be used as the last parameter of the onMessageProcessingEnd method.

Attributes

Definition Classes
override def onTerminationStart(): Unit

Callback executed when the actor is about to terminate.

Callback executed when the actor is about to terminate.

Attributes

Definition Classes