addEvent

open override fun addEvent(name: String, attributes: Map<String, String> = emptyMap()): NoOpSpan

Add an event (annotation) to this span.

Return

This span for chaining

Parameters

name

Event name

attributes

Optional event attributes


open override fun addEvent(name: String, timestamp: Instant, attributes: Map<String, String> = emptyMap()): NoOpSpan

Add an event with timestamp.