class

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

to_json(json : JSON::Builder)
Source
to_protobuf

Return the Protobuf object for the Span.

Source