hs-opentelemetry-api-0.2.0.0: OpenTelemetry API for use by libraries for direct instrumentation or wrapper packages.
Copyright(c) Ian Duncan 2021
LicenseBSD-3
MaintainerIan Duncan
Stabilityexperimental
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

OpenTelemetry.Trace.Id.Generator

Description

Stateful random number generation interface for creating Trace and Span ID bytes.

In most cases, the built-in generator in the hs-opentelemetry-sdk will be sufficient, but the interface is exposed for more exotic needs.

Synopsis

Documentation

data IdGenerator Source #

An interface for generating the underlying bytes for trace and span ids.

Constructors

IdGenerator 

Fields