OpenTelemetry::Span
Inherits OpenTelemetry::Sendable < OpenTelemetry::API::AbstractSpan < OpenTelemetry::Sendable < Reference < Object
A Span represents a single measured timespan, and all data associated
with that measurement. A Span may nest other Span instances.
Instance methods
add_link(context : SpanContext, attributes : Hash(String, AnyAttribute) = {} of String => AnyAttribute) : Nil
The pinned SDK protobuf supports links, but Span does not expose them yet. Keep the extension local so template send spans can export link metadata.
add_link(context : SpanContext, attributes : Hash(String, _) = {} of String => String) : Nil
Sourcelinks
Sourceto_json(json : JSON::Builder)
Source