Documentation
¶
Overview ¶
Package telemetry installs OpenTelemetry through xtrace's SDK bootstrap: resource from the build identity, exporters from the standard OTEL_* environment. A signal without an OTLP endpoint is not exported (xtrace decides per signal), so a service never retries a collector that does not exist.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Identity ¶
type Identity struct {
Service, Version, Instance, Environment string
}
Identity stamped into the resource.
type Telemetry ¶
type Telemetry struct {
// contains filtered or unexported fields
}
Telemetry is a lifecycle component; start it first, it stops last.
Click to show internal directories.
Click to hide internal directories.