Skip to content

Commit

Permalink
Fix out of date zipkin exporter docs (open-telemetry#4995)
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-berg authored and dmarkwat committed Dec 30, 2022
1 parent e7f4f7d commit db256c7
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions exporters/zipkin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,37 +21,9 @@ spans will be sent to a Zipkin endpoint running on `localhost`:
ZipkinSpanExporter exporter =
ZipkinSpanExporter.builder()
.setEndpoint("http://localhost/api/v2/spans")
.setServiceName("my-service")
.build();
```

Service name and Endpoint can be also configured via environment variables or system properties.

```java
// Using environment variables
ZipkinSpanExporter exporter =
ZipkinSpanExporter.builder()
.readEnvironmentVariables()
.build()
```

```java
// Using system properties
ZipkinSpanExporter exporter =
ZipkinSpanExporter.builder()
.readSystemProperties()
.build()
```

The Zipkin span exporter will look for the following environment variables / system properties:
* `OTEL_ZIPKIN_SERVICE_NAME` / `otel.zipkin.service.name`
* `OTEL_ZIPKIN_ENDPOINT` / `otel.zipkin.endpoint`


## Compatibility

As with the OpenTelemetry SDK itself, this exporter is compatible with Java 8+ and Android API level 24+.

## Attribution

The code in this module is based on the [OpenCensus Zipkin exporter][oc-origin] code.
Expand Down

0 comments on commit db256c7

Please sign in to comment.