Available on crate feature
tracing only.Expand description
OTLP/HTTP JSON encoding of closed spans. Enable with the
tracing feature.
OTLP/HTTP JSON encoding of closed spans (/v1/traces).
Constants§
- DEFAULT_
TRACES_ ENDPOINT - The endpoint a
SpanExporteruses when given none: the OTLP/HTTP traces route of a Collector on this host.
Functions§
- serialise_
spans - Serialise closed spans into one OTLP/HTTP JSON
ExportTraceServiceRequest, under a resource whoseservice.nameisservice_name.