Header menu logo Nao

ITracer Type

Interface for trace collection

Instance members

Instance member Description

this.AddEvent

Full Usage: this.AddEvent

Parameters:
    arg0 : Span
    name : string
    attributes : Map<string, string>

Modifiers: abstract

Add an event to the current span

arg0 : Span
name : string
attributes : Map<string, string>

this.EndSpan

Full Usage: this.EndSpan

Parameters:
Modifiers: abstract

End a span

arg0 : Span
arg1 : SpanStatus

this.GetTrace

Full Usage: this.GetTrace

Parameters:
Returns: Span list
Modifiers: abstract

Get all completed spans for a trace

arg0 : TraceId
Returns: Span list

this.SetAttributes

Full Usage: this.SetAttributes

Parameters:
    arg0 : Span
    arg1 : Map<string, string>

Modifiers: abstract

Set attributes on a span

arg0 : Span
arg1 : Map<string, string>

this.StartSpan

Full Usage: this.StartSpan

Parameters:
    parentSpan : Span
    operationName : string

Returns: Span
Modifiers: abstract

Start a child span under an existing span

parentSpan : Span
operationName : string
Returns: Span

this.StartTrace

Full Usage: this.StartTrace

Parameters:
    operationName : string

Returns: Span
Modifiers: abstract

Start a new root trace

operationName : string
Returns: Span

Type something to start searching.