References
Class Summary
Static Public Class Summary | ||
public |
Convenience class to use as a binary carrier. |
|
public |
OpenTracing Context implementation designed for use in unit tests. |
|
public |
Index a collection of reported MockSpans in a way that's easy to run unit test assertions against. |
|
public |
OpenTracing Span implementation designed for use in unit tests. |
|
public |
OpenTracing Tracer implementation designed for use in unit tests. |
|
public |
Reference pairs a reference type constant (e.g., REFERENCE_CHILD_OF or REFERENCE_FOLLOWS_FROM) with the SpanContext it points to. |
|
public |
Span represents a logical unit of work as part of a broader Trace. |
|
public |
SpanContext represents Span state that must propagate to descendant Spans and across process boundaries. |
|
public |
Tracer is the entry-point between the instrumentation API and the tracing implementation. |
Function Summary
Static Public Function Summary | ||
public |
childOf(spanContext: SpanContext): * Return a new REFERENCE_CHILD_OF reference. |
|
public |
followsFrom(spanContext: SpanContext): * Return a new REFERENCE_FOLLOWS_FROM reference. |
|
public |
globalTracer(): * Returns the global tracer. |
|
public |
initGlobalTracer(tracer: Tracer) Set the global Tracer. |
Variable Summary
Static Public Variable Summary | ||
public |
The FORMAT_BINARY format represents SpanContexts in an opaque binary carrier. |
|
public |
The FORMAT_HTTP_HEADERS format represents SpanContexts using a character-restricted string->string map (backed by a Javascript Object) as a carrier. |
|
public |
The FORMAT_TEXT_MAP format represents SpanContexts using a string->string map (backed by a Javascript Object) as a carrier. |
|
public |
A Span may be the "child of" a parent Span. |
|
public |
Some parent Spans do not depend in any way on the result of their child Spans. |