Discover Packages
github.com/sethgrid/helloworld
internal
tracing
package
Version:
v0.0.0-...-9225271
Opens a new window with list of versions in this module.
Published: Apr 14, 2026
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package tracing installs OpenTelemetry globals (tracer provider, propagators) for OTLP export.
Install configures the global TracerProvider and text map propagator. If cfg.OTLPEndpoint is empty,
it returns (nil, nil) and leaves OTel defaults (noop) in place.
Config controls OTLP export. Endpoint is the gRPC host:port (no scheme), e.g. "localhost:4317" or "tempo:4317".
Source Files
¶
Click to show internal directories.
Click to hide internal directories.