a ZipkinClient (shared transport) or config options (own transport).
compression, batch size and endpoint override.
test seams.
ReadonlycompressionRequest body compression.
ReadonlyendpointIngest URL used by report.
ReadonlymaxSpans per POST.
Releases connections when this reporter owns them (no-op for client.reporter). Idempotent.
Sends spans: an empty list sends nothing; more than maxBatchSize spans are sent in several
POSTs, in order. Spans are queryable once the call resolves (immediately with in-memory
storage; persistent backends may lag — use query.waitForTrace).
StaticfromBuilds a standalone reporter from GROW_ZIPKIN_* / ZIPKIN_URL / OTEL_EXPORTER_ZIPKIN_ENDPOINT.
Reports spans to Zipkin without OpenTelemetry:
POST /api/v2/spanswith a JSON array of v2 spans (202 Accepted). Spans are normalized locally first (normalizeZipkinSpan), so an invalid span throwsValidationErrorbefore anything is sent. Ingest is idempotent (Zipkin merges spans by id), so 5xx, 429 and network errors are retried; a 400 or 413 is permanent.Get one from ZipkinClient.reporter (shares the client's connections) or construct it from a config (owns its connections; call close).