AbstractTracer

abstract class AbstractTracer : Tracer

An abstract implementation of a tracer. By default, this class uses no-op implementations for all members unless overridden in a subclass.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun createSpan(name: String, initialAttributes: Attributes = emptyAttributes(), spanKind: SpanKind = SpanKind.INTERNAL, parentContext: Context? = null): TraceSpan

Creates a new span and makes it active in the current Context.