zipkin-reporter-java
zipkin-reporter-java copied to clipboard
Shared library for reporting zipkin spans on transports such as http or kafka
As title says, this upgrades the underlying `okhttp3` library from `3.14.9` to `4.9.3`.
By default, 1% of memory is used as the queue memory limit in ```AsyncReporter``` : ``` int queuedMaxBytes = onePercentOfMemory(); static int onePercentOfMemory() { long result = (long) (Runtime.getRuntime().totalMemory() *...
## Feature Allow the `AsyncReporter.close()` to be properly used in shutdown hooks. ## Rationale Currently when a e.g. batch job finishes the `AsyncReporter`, even if registered as a shutdown hook,...
## Feature upgarde thrift to 0.14.x which contais CVE-2020-13949 libthrift: potential DoS when processing untrusted payloads ## Rationale it also help camel-zipkin which depends on ```io.zipkin.reporter2:zipkin-sender-libthrift``` ## Example Scenario ##...
I am getting this error when opentelemetry is trying to export traces to Kafka using Kafka sender. **[BatchSpanProcessor_WorkerThread-1] WARN io.opentelemetry.sdk.trace.export.BatchSpanProcessor$Worker - Exporter threw an Exception org.apache.kafka.common.config.ConfigException: Invalid value org.apache.kafka.common.serialization.ByteArraySerializer for...
I noticed that zipkin-reporter-brave still has a dependency on io.zipkin.zipkin2:zipkin because AsyncReporter and Sender extend zipkin2.Component among other things. AsyncReporter ```java import zipkin2.Call; import zipkin2.CheckResult; import zipkin2.Component; import zipkin2.Span; import...
``` [ERROR] zipkin2.reporter.AsyncReporterTest.messageTimeout_flushesWhenTimeoutExceeded Time elapsed: 0.043 s
Right now, it is required to use JSON when using brave's direct encoder. ``` Caused by: java.lang.IllegalArgumentException: Encoder doesn't match Sender: JSON PROTO3 at zipkin2.reporter.AsyncReporter$Builder.build(AsyncReporter.java:201) at zipkin2.reporter.brave.AsyncZipkinSpanHandler.(AsyncZipkinSpanHandler.java:152) at zipkin2.reporter.brave.AsyncZipkinSpanHandler$Builder.build(AsyncZipkinSpanHandler.java:147) at...
We can calculate the size of a span without serializing it. We should be able to make an async reporter that defers serialization, but still allows us to drop spans...
_From @wjase on May 2, 2018 1:2_ Saw a warning from one of our Spring Artefacts on shutdown: 04 Apr 2018 12:36:34,299] WARN [requestId=] [loader.WebappClassLoaderBase]: The web application [XXX] appears...