Expand description
Fire-and-forget OTLP span exporter. Sends a single
resourceSpans payload over plain HTTP to the collector at
OTLPEndpoint (default 127.0.0.1:4318, configurable via
.env.Land.PostHog). Stops trying after the first failure
(OTLP_AVAILABLE flips to false) so a missing collector
doesnโt tax every IPC call. Release builds are compiled out
via cfg!(debug_assertions). Honors the Capture master
telemetry kill switch and the per-pipe OTLPEnabled toggle.
Staticsยง
- OTLP_
AVAILABLE ๐ - OTLP_
TRACE_ ๐ID
Functionsยง
- Fn
- GetTrace
Id ๐ - Parse
Endpoint ๐ - Split
http://host:port/pathinto(host:port, /path). Defaults the path to/v1/traceswhen the endpoint has none. Returns ownedStrings so the spawned thread does not borrow the build-time&'static str. - RandU64 ๐