pub fn serialise_spans(spans: &[SpanRecord], service_name: &str) -> StringAvailable on crate feature
tracing only.Expand description
Serialise closed spans into one OTLP/HTTP JSON
ExportTraceServiceRequest, under a resource whose
service.name is service_name.