Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun endSpan(telemetryId: TelemetryId)
Link copied to clipboard
Link copied to clipboard
fun getCurrentBaggage(telemetryComponentName: String): Map<String, String>?
Link copied to clipboard
fun getCurrentSpanId(telemetryComponentName: String): String?
Link copied to clipboard
fun getCurrentTraceId(telemetryComponentName: String): String?
Link copied to clipboard
open override fun <T> getTelemetryHandle(telemetryClass: Class<T>): T?
Link copied to clipboard
Link copied to clipboard
fun recordException(telemetryId: TelemetryId, throwable: Throwable)
Link copied to clipboard
fun setStatus(telemetryId: TelemetryId, telemetryStatusCode: TelemetryStatusCode, message: String)
Link copied to clipboard
Link copied to clipboard
inline fun <R> span(name: String, attributes: Map<String, String> = emptyMap(), flowLogic: FlowLogic<*>? = null, block: () -> R): R
Link copied to clipboard
inline fun <R> spanForFlow(name: String, attributes: Map<String, String>, flowLogic: FlowLogic<*>? = null, remoteSerializedTelemetry: SerializedTelemetry? = null, block: () -> R): R
Link copied to clipboard
fun startSpan(name: String, attributes: Map<String, String> = emptyMap(), flowLogic: FlowLogic<*>? = null): TelemetryId
Link copied to clipboard
fun startSpanForFlow(name: String, attributes: Map<String, String>, flowLogic: FlowLogic<*>? = null, remoteSerializedTelemetry: SerializedTelemetry? = null): TelemetryId
Link copied to clipboard
open override fun toToken(context: SerializeAsTokenContext): <Error class: unknown class>