struct OpenTelemetry::IdGenerator::Random

Defined in:

opentelemetry-api/id_generator/random.cr

Instance Method Summary

Instance methods inherited from struct OpenTelemetry::IdGenerator::Base

initialize initialize, span_id span_id, trace_id trace_id

Constructor methods inherited from struct OpenTelemetry::IdGenerator::Base

new new

Instance Method Detail

def span_id #

Return a random sequence of 8 bytes for the span id.


[View source]
def trace_id #

Return a random sequence of 16 bytes for the trace id.


[View source]