opentelemetry-java/exporters/zipkin
jack-berg 7f0889a6a3
Move autoconfigure exporter tests (#5051)
* Move SPI logging-otlp tests to :exporters:logging-otlp

* Move SPI zipkin tests to :exporters:zipkin

* Move SPI jaeger tests to :exporters:jaeger

* Spotless
2022-12-21 08:23:21 -06:00
..
src Move autoconfigure exporter tests (#5051) 2022-12-21 08:23:21 -06:00
README.md Fix out of date zipkin exporter docs (#4995) 2022-11-29 10:38:37 -06:00
build.gradle.kts Implement zipkin exporter provider (#4991) 2022-11-28 14:08:13 -06:00

README.md

OpenTelemetry - Zipkin Span Exporter

Javadocs

This is an OpenTelemetry exporter that sends span data using the io.zipkin.reporter2:zipkin-reporter library.

By default, this POSTs json in Zipkin format to a specified HTTP URL. This could be to a Zipkin service, or anything that consumes the same format.

You can alternatively use other formats, such as protobuf, or override the Sender to use a non-HTTP transport, such as Kafka.

Configuration

The Zipkin span exporter can be configured programmatically.

An example of simple Zipkin exporter initialization. In this case spans will be sent to a Zipkin endpoint running on localhost:

ZipkinSpanExporter exporter =
        ZipkinSpanExporter.builder()
            .setEndpoint("http://localhost/api/v2/spans")
            .build();

Attribution

The code in this module is based on the OpenCensus Zipkin exporter code.