Documentation
¶
Index ¶
Constants ¶
const ( OTLPGRPC = "otlpgrpc" OTLPHTTP = "otlphttp" Stdout = "stdout" )
Exporter names; each is registered by the matching exporters/ subpackage's init().
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Factory ¶
Factory strict-decodes its own config block (raw YAML, nil when absent) and must fail on unknown keys.
type Manager ¶
type Manager interface {
model.Tracer
// no common.Readiness on purpose: a dead collector must not gate dependents
common.Liveness
common.Initializable
common.Daemon
common.Debuggable
}
type Option ¶
type Option func(*manager)
func WithEnabled ¶
WithEnabled sets the default of tracing.enabled (built-in: off).
func WithExporter ¶
WithExporter sets the default of tracing.exporter and tracing.config (built-in: none). A tracing.config alone configures this exporter; a tracing.exporter brings its own block. It does not enable tracing.
func WithLogger ¶
func WithSampleRatio ¶
WithSampleRatio sets the default of tracing.sample_ratio (built-in: 1.0; zero is unset). A remote parent's sampling decision still wins.
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
exporters
|
|
|
model
Package model is the tracing exporter factories' config vocabulary.
|
Package model is the tracing exporter factories' config vocabulary. |
|
otlpgrpc
Package otlpgrpc registers tracing.OTLPGRPC when blank-imported, keeping grpc out of other binaries.
|
Package otlpgrpc registers tracing.OTLPGRPC when blank-imported, keeping grpc out of other binaries. |
|
otlphttp
Package otlphttp registers tracing.OTLPHTTP when blank-imported.
|
Package otlphttp registers tracing.OTLPHTTP when blank-imported. |
|
stdout
Package stdout registers tracing.Stdout when blank-imported, for local development.
|
Package stdout registers tracing.Stdout when blank-imported, for local development. |