Skip to main content

Module async_http

Module async_http 

Source
Available on crate feature async only.
Expand description

Async HTTP/JSON transport over Tokio and plain http://. Enable with the async feature. Async HTTP transport for OTLP/JSON over plain http://.

Only compiled when the async feature is enabled. The HTTP/1.1 exchange is the crate’s own (src/http.rs) over a Tokio TcpStream; there is no TLS. Point the exporter at a local OpenTelemetry Collector and let it handle TLS towards the backend. See docs/adr/0015-otlp-local-collector-transport.md.

Structs§

AsyncOtlpExporter
Async HTTP/JSON exporter to an OTLP-compatible collector.
AsyncOtlpExporterBuilder
Fluent builder for AsyncOtlpExporter.