package
Version:
v1.1.0
Opens a new window with list of versions in this module.
Published: Aug 28, 2026
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package trace defines stable trace configuration and sampling policies.
NewSampler constructs a standard OpenTelemetry SDK sampler.
Config describes a sampler without replacing the OpenTelemetry sampler API.
Mode selects the root-span sampling strategy.
const (
ModeAlwaysOn Mode = "always_on"
ModeAlwaysOff Mode = "always_off"
ModeRatio Mode = "ratio"
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.