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") #

[View source]

Class Method Detail

def self.span_id #

[View source]
def self.trace_id #

[View source]

Instance Method Detail

abstract def generator : AbstractIdGenerator::AbstractBase #

[View source]
abstract def span_id #

[View source]
abstract def trace_id #

[View source]