Function
Static Public 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. |
Static Public
public childOf(spanContext: SpanContext): * source
import {childOf} from 'opentracing/src/functions.js'
Return a new REFERENCE_CHILD_OF reference.
Params:
Name | Type | Attribute | Description |
spanContext | SpanContext | the parent SpanContext instance to reference. |
Return:
* | a REFERENCE_CHILD_OF reference pointing to |
public followsFrom(spanContext: SpanContext): * source
import {followsFrom} from 'opentracing/src/functions.js'
Return a new REFERENCE_FOLLOWS_FROM reference.
Params:
Name | Type | Attribute | Description |
spanContext | SpanContext | the parent SpanContext instance to reference. |
Return:
* | a REFERENCE_FOLLOWS_FROM reference pointing to |
public globalTracer(): * source
import {globalTracer} from 'opentracing/src/global_tracer.js'
Returns the global tracer.
Return:
* |
public initGlobalTracer(tracer: Tracer) source
import {initGlobalTracer} from 'opentracing/src/global_tracer.js'
Set the global Tracer.
The behavior is undefined if this function is called more than once.
Params:
Name | Type | Attribute | Description |
tracer | Tracer | the Tracer implementation |