Object

com.beachape.zipkin.services

NoopZipkinService

Related Doc: package services

Permalink

object NoopZipkinService extends ZipkinServiceLike

Dummy ZipkinServiceLike that just returns true or false based on whether the Spans passed to it are sendable to Zipkin

Linear Supertypes
ZipkinServiceLike, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NoopZipkinService
  2. ZipkinServiceLike
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type ClientSpan = Span

    Permalink

    Customisable client span type

    Customisable client span type

    Definition Classes
    NoopZipkinServiceZipkinServiceLike
  2. type ServerSpan = Span

    Permalink

    Customisable server span type

    Customisable server span type

    Definition Classes
    NoopZipkinServiceZipkinServiceLike

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clientReceived(span: ClientSpan, annotations: (String, String)*): Future[ClientSpan]

    Permalink

    Creates a ClientSpan with a ClientReceived annotation that will be used to signal to the Zipkin collector that a Client Received event has occurred at the current time.This method *should* be used to also actually send the underlying Span to the Zipkin server.

    Creates a ClientSpan with a ClientReceived annotation that will be used to signal to the Zipkin collector that a Client Received event has occurred at the current time.This method *should* be used to also actually send the underlying Span to the Zipkin server.

    If annotations are provided, they will also be added.

    Definition Classes
    NoopZipkinServiceZipkinServiceLike
  6. def clientSent(span: Span, annotations: (String, String)*): Future[Option[ClientSpan]]

    Permalink

    Creates a ClientSpan with a ClientSent annotation that will later be used to signal to the Zipkin collector that a Client Sent event has occurred at the current time.

    Creates a ClientSpan with a ClientSent annotation that will later be used to signal to the Zipkin collector that a Client Sent event has occurred at the current time.

    If annotations are provided, they will also be added.

    Definition Classes
    NoopZipkinServiceZipkinServiceLike
  7. def clientSpanToSpan(clientSpan: ClientSpan): Span

    Permalink

    Provides a way of turning a custom ClientSpan back into a normal Span

    Provides a way of turning a custom ClientSpan back into a normal Span

    Definition Classes
    NoopZipkinServiceZipkinServiceLike
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. implicit val eCtx: ExecutionContextExecutor

    Permalink

    The execution context provided by and used within this service for tracing purposes

    The execution context provided by and used within this service for tracing purposes

    Definition Classes
    NoopZipkinServiceZipkinServiceLike
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def generateSpan(name: String, parent: Span): Span

    Permalink

    Returns a Span based on a name and a parent Span, which may or may not be used

    Returns a Span based on a name and a parent Span, which may or may not be used

    In essence, checks for a trace id on the parent Span, if it exists, uses the parent Span's trace id as the returned Span's trace id and the parent id as the returned Span's parentId.

    The returned Span is guaranteed to have a new id and the name passed.

    Definition Classes
    ZipkinServiceLike
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. def nextId: Long

    Permalink

    Returns an id

    Returns an id

    Definition Classes
    ZipkinServiceLike
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. def sendableSpan(span: Span): Boolean

    Permalink

    Determines if the Span is minimally sendable to Zipkin (has an id, has a trace id, and has a non-empty name)

    Determines if the Span is minimally sendable to Zipkin (has an id, has a trace id, and has a non-empty name)

    Attributes
    protected[com.beachape.zipkin.services]
    Definition Classes
    ZipkinServiceLike
  22. def serverReceived(span: Span, annotations: (String, String)*): Future[Option[ServerSpan]]

    Permalink

    Returns a ServerSpan with a ServerReceived annotation that will later be used to signal to the Zipkin collector that a server received event has occurred at the current time.

    Returns a ServerSpan with a ServerReceived annotation that will later be used to signal to the Zipkin collector that a server received event has occurred at the current time.

    If annotations are provided, they will also be added.

    Definition Classes
    NoopZipkinServiceZipkinServiceLike
  23. def serverSent(span: ServerSpan, annotations: (String, String)*): Future[ServerSpan]

    Permalink

    Returns a ServerSpan with a ServerSent annotation that will be used to signal to the Zipkin collector that a server Sent event has occurred at the current time.

    Returns a ServerSpan with a ServerSent annotation that will be used to signal to the Zipkin collector that a server Sent event has occurred at the current time. This method *should* be used to also actually send the underlying Span to the Zipkin server.

    If annotations are provided, they will also be added.

    Definition Classes
    NoopZipkinServiceZipkinServiceLike
  24. def serverSpanToSpan(serverSpan: ClientSpan): Span

    Permalink

    Provides a way of turning a custom ServerSpan back into a normal Span

    Provides a way of turning a custom ServerSpan back into a normal Span

    Definition Classes
    NoopZipkinServiceZipkinServiceLike
  25. def spanToIdsMap(span: Span): Map[String, String]

    Permalink

    Turns a Span into a Map[String, String].

    Turns a Span into a Map[String, String].

    The keys of the map are the official Zipkin id Header strings (e.g. X-B3-TraceId), and the values are the hexadecimal string versions of those ids.

    Useful turning a Span into a data structure that can be more easily serialised in order to be passed onto other systems via some kind of transport protocol.

    Definition Classes
    ZipkinServiceLike
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ZipkinServiceLike

Inherited from AnyRef

Inherited from Any

Ungrouped