PreStart

object PreStart
class Object
trait Matchable
class Any

Type members

Classlikes

Tries to find a PreStartHook instance on the current Context and apply it. Since the default value for the Context key is the Noop implementation, no changes will be applied if no PreStartHook is found on the current Context.

Tries to find a PreStartHook instance on the current Context and apply it. Since the default value for the Context key is the Noop implementation, no changes will be applied if no PreStartHook is found on the current Context.

object Noop extends PreStartHook

PreStartTransformation implementation which does not apply any changes to the provided SpanBuilder.

PreStartTransformation implementation which does not apply any changes to the provided SpanBuilder.

Value members

Concrete methods

def updateOperationName(operationName: String): PreStartHook

Creates a PreStartHook that updates the operation name to the provided one. This builder becomes useful when use together with the "PreStart.FromContext" hook.

Creates a PreStartHook that updates the operation name to the provided one. This builder becomes useful when use together with the "PreStart.FromContext" hook.

Concrete fields

Context key on used to store and retrieve PreStartTransformation instances on/from the current Context.

Context key on used to store and retrieve PreStartTransformation instances on/from the current Context.