| Copyright | (c) Ian Duncan 2021 |
|---|---|
| License | BSD-3 |
| Maintainer | Ian Duncan |
| Stability | experimental |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
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
| |