trait TracingClient extends AnyRef
- Alphabetic
- By Inheritance
- TracingClient
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
implicit abstract
val
ec: ExecutionContext
- Attributes
- protected
-
abstract
val
propagation: Propagation[HttpHeader, HttpRequest]
- Attributes
- protected
-
abstract
val
tracing: Tracing
- Attributes
- protected
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
traceRequest(doRequest: (HttpRequest) ⇒ Future[HttpResponse]): (HttpRequest) ⇒ Future[HttpResponse]
Enriches the doRequest function by tracing and propagation of the SpanContext via http headers.
Enriches the doRequest function by tracing and propagation of the SpanContext via http headers.
- doRequest
the function which executes the HttpRequest, usually Http.singleRequest
- returns
the enriched function
-
def
traceRequest(doRequest: (HttpRequest) ⇒ Future[HttpResponse], parentSpan: Span): (HttpRequest) ⇒ Future[HttpResponse]
Enriches the doRequest function by tracing and propagation of the SpanContext via http headers.
Enriches the doRequest function by tracing and propagation of the SpanContext via http headers.
- doRequest
the function which executes the HttpRequest, usually Http.singleRequest
- parentSpan
the current span which will act as parent of the new span
- returns
the enriched function
-
def
traceRequestForConnection[Mat](connection: Flow[HttpRequest, HttpResponse, Mat]): Flow[HttpRequest, HttpResponse, Mat]
Enriches a
Flow[HttpRequest, HttpResponse, _]
, which is usually returned byHttp().outgoingConnection
, with tracing and propagation of the SpanContext via http headers.Enriches a
Flow[HttpRequest, HttpResponse, _]
, which is usually returned byHttp().outgoingConnection
, with tracing and propagation of the SpanContext via http headers.- connection
the flow, usually this is the return value of
Http().outgoingConnection
- returns
the enriched flow
-
def
traceRequestForConnection[Mat](connection: Flow[HttpRequest, HttpResponse, Mat], parentSpan: Span): Flow[HttpRequest, HttpResponse, Mat]
Enriches a
Flow[HttpRequest, HttpResponse, _]
, which is usually returned byHttp().outgoingConnection
, with tracing and propagation of the SpanContext via http headers.Enriches a
Flow[HttpRequest, HttpResponse, _]
, which is usually returned byHttp().outgoingConnection
, with tracing and propagation of the SpanContext via http headers.- connection
the flow, usually this is the return value of
Http().outgoingConnection
- parentSpan
the current span which will act as parent of the new span
- returns
the enriched flow
- def traceRequestForPool[T, Mat](connectionPool: Flow[(HttpRequest, T), (Try[HttpResponse], T), Mat], parentSpan: Option[Span]): Flow[(HttpRequest, T), (Try[HttpResponse], T), Mat]
-
def
traceRequestForPool[T, Mat](connectionPool: Flow[(HttpRequest, T), (Try[HttpResponse], T), Mat]): Flow[(HttpRequest, T), (Try[HttpResponse], T), Mat]
Enriches a
Flow[(HttpRequest, T), (Try[HttpResponse], T), _]
, which is usually returned byHttp().cachedHostConnectionPool
with tracing and propagation of the SpanContext via http headers.Enriches a
Flow[(HttpRequest, T), (Try[HttpResponse], T), _]
, which is usually returned byHttp().cachedHostConnectionPool
with tracing and propagation of the SpanContext via http headers.- connectionPool
the flow, usually this is the return value of
Http().cachedHostConnectionPool
- returns
the enriched flow
-
def
traceRequestForPool[T, Mat](connectionPool: Flow[(HttpRequest, T), (Try[HttpResponse], T), Mat], parentSpan: Span): Flow[(HttpRequest, T), (Try[HttpResponse], T), Mat]
Enriches a
Flow[(HttpRequest, T), (Try[HttpResponse], T), _]
, which is usually returned byHttp().cachedHostConnectionPool
with tracing and propagation of the SpanContext via http headers.Enriches a
Flow[(HttpRequest, T), (Try[HttpResponse], T), _]
, which is usually returned byHttp().cachedHostConnectionPool
with tracing and propagation of the SpanContext via http headers.- connectionPool
the flow, usually this is the return value of
Http().cachedHostConnectionPool
- parentSpan
the current span which will act as parent of the new span
- returns
the enriched flow
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )