opentelemetry-java/sdk_extensions/jaeger_remote_sampler
John Watson fa1e876df2
Move the stress test code to being a TestContainers-based test. (#1803)
* Move the stress test code to being a TestContainers-based test.
Upgrade testcontainers version to work with the latest docker-for-mac.
Add metrics in the OTLP exporter, to record success/failure of export.
Use the TestContainers annotation to disable those tests when docker isn't present.

* remove a bunch of commented out stuff that shouldn't have been added

* disable the test without docker

* use specific docker image tags to keep testcontainers from downloading the world

* delete unneeded file

* fix from upstream change
2020-10-15 19:30:38 -07:00
..
src Move the stress test code to being a TestContainers-based test. (#1803) 2020-10-15 19:30:38 -07:00
README.md Rename newBuilder to builder for consistency. (#1790) 2020-10-13 13:17:06 -07:00
build.gradle Use awaitility / higher timeout to reduce flakiness. (#1729) 2020-09-30 08:21:24 -07:00

README.md

Jaeger Remote Sampler

This module implements Jaeger remote sampler. The sampler configuration is received from collector's gRPC endpoint.

Example

The following example shows initialization and installation of the sampler:

Builder remoteSamplerBuilder = JaegerRemoteSampler.builder()
    .setChannel(grpcChannel)
    .setServiceName("my-service");
TraceConfig traceConfig = provider.getActiveTraceConfig()
    .toBuilder().setSampler(remoteSamplerBuilder.build())
    .build();
provider.updateActiveTraceConfig(traceConfig);