-
Notifications
You must be signed in to change notification settings - Fork 834
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,7 @@ | ||
# OpenTelemetry API | ||
|
||
[![Javadocs][javadoc-image]][javadoc-url] | ||
#### API Misuse Logging | ||
|
||
* The code in this module is the implementation of stable OpenTelemetry signals. | ||
* Semantic Conventions for OpenTelemetry are in the `opentelemetry-semconv` module. | ||
* The default implementation of the interfaces in this module is in the OpenTelemetry SDK module. | ||
* The interfaces in this directory can be implemented to create alternative | ||
implementations of the OpenTelemetry library. | ||
API misuse information is logged under logger named `io.opentelemetry.ApiUsageLogging`. | ||
|
||
[javadoc-image]: https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-api.svg | ||
[javadoc-url]: https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-api | ||
|
||
--- | ||
#### Running micro-benchmarks | ||
From the root of the repo run `./gradlew clean :api:jmh` to run all the benchmarks | ||
or run `./gradlew clean :api:jmh -PjmhIncludeSingleClass=<ClassNameHere>` | ||
to run a specific benchmark class. | ||
|
||
--- | ||
#### Logging API mis-use | ||
Define `logging.level.io.opentelemetry.ApiUsageLogging=TRACE` to enable TRACE logging for invalid API calls. | ||
To access, enable `FINEST` level logs. |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
# OpenTelemetry - Jaeger Proto (DEPRECATED) | ||
|
||
> **NOTICE**: External use of this artifact is deprecated. It will not have any changes in the future but will continue to be published as is until 2.0.0. | ||
[![Javadocs][javadoc-image]][javadoc-url] | ||
|
||
[javadoc-image]: https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-exporter-jaeger-proto.svg | ||
[javadoc-url]: https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-exporter-jaeger-proto | ||
> **NOTICE**: External use of this artifact is deprecated. |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,7 @@ | ||
# OpenTelemetry - Zipkin Span Exporter | ||
|
||
[![Javadocs][javadoc-image]][javadoc-url] | ||
|
||
This is an OpenTelemetry exporter that sends span data using the [io.zipkin.reporter2:zipkin-reporter](https://github.com/openzipkin/zipkin-reporter-java) library. | ||
|
||
By default, this POSTs json in [Zipkin format](https://zipkin.io/zipkin-api/#/default/post_spans) to | ||
a specified HTTP URL. This could be to a [Zipkin](https://zipkin.io) 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`: | ||
|
||
```java | ||
ZipkinSpanExporter exporter = | ||
ZipkinSpanExporter.builder() | ||
.setEndpoint("http://localhost/api/v2/spans") | ||
.build(); | ||
``` | ||
|
||
## Attribution | ||
|
||
The code in this module is based on the [OpenCensus Zipkin exporter][oc-origin] code. | ||
|
||
[javadoc-image]: https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-exporter-zipkin.svg | ||
[javadoc-url]: https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-exporter-zipkin | ||
[oc-origin]: https://github.com/census-instrumentation/opencensus-java/ |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.