abstract struct OpenTelemetry::API::AbstractIdGenerator

Overview

This is the abstract base implementation for an ID Generator. Other ID Generators should inherit from this class to implement the interface prescribed here.

Direct Known Subclasses

Defined in:

api/abstract_id_generator.cr
api/id_generator/abstract_base.cr
api/id_generator/base.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(variant : String | Symbol = "unique") #

Class Method Detail

def self.span_id #

def self.trace_id #

Instance Method Detail

abstract def generator : AbstractIdGenerator::AbstractBase #

abstract def span_id #

abstract def trace_id #