Documentation
¶
Overview ¶
Package zaptrace is a ZAP-native OTel trace transport: an otlptrace.Client whose wire is Hanzo's ZAP transport (github.com/zap-proto/http). Spans are marshaled as standard OTLP protobuf but shipped over the ZAP wire (capnp frames, X-Wing PQ-KEM handshake), NEVER OTLP-over-HTTP(:4318) or OTLP-over-gRPC(:4317). The collector's zapreceiver (:4319) terminates it and writes to hanzoai/datastore.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client implements go.opentelemetry.io/otel/exporters/otlp/otlptrace.Client.
func New ¶
New returns an otlptrace.Client that ships spans over the ZAP wire to endpoint (host:port of a collector's ZAP receiver, e.g. otel-collector.hanzo.svc:4319).
func (*Client) UploadTraces ¶
UploadTraces ships one OTLP ExportTraceServiceRequest over the ZAP wire.