TraceExtensions.StartChildSpan method

Starts a new ITraceSpan that is a child of traceSpan.

public static ITraceSpan StartChildSpan(this ITraceSpan traceSpan, TraceSpanKind kind, 
    IEnumerable<ValueTuple<string, string>> tags)
parameter description
traceSpan (Optional) The current span. If this is null, this method returns null.
kind The TraceSpanKind.
tags A sequence of span tags; see SetTag.

Return Value

A new ITraceSpan, or null.

See Also