struct OpenTelemetry::IdGenerator

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.

Defined in:

opentelemetry-api/id_generator.cr
opentelemetry-api/id_generator/base.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail


[View source]
def span_id #

[View source]
def trace_id #

[View source]