diff --git a/cel-sampler/README.md b/cel-sampler/README.md index b9321e04d..62f1ed5b1 100644 --- a/cel-sampler/README.md +++ b/cel-sampler/README.md @@ -7,6 +7,7 @@ The `CelBasedSampler` supports [declarative configuration](https://opentelemetry To use: * Add a dependency on `io.opentelemetry.contrib:opentelemetry-cel-sampler:` + * See the [extension documentation](https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/examples/extension/README.md#build-and-add-extensions) for how to add extensions when using the java agent. * Follow the [instructions](https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk-extensions/incubator/README.md#declarative-configuration) to configure OpenTelemetry with declarative configuration. * Configure the `.tracer_provider.sampler` to include the `cel_based` sampler. diff --git a/samplers/README.md b/samplers/README.md index fcd21df10..e248dd995 100644 --- a/samplers/README.md +++ b/samplers/README.md @@ -9,6 +9,7 @@ The following samplers support [declarative configuration](https://opentelemetry To use: * Add a dependency on `io.opentelemetry.contrib:opentelemetry-samplers:` + * NOTE: if using the java agent, this sampler is already included in versions 2.21+ and no additional dependency is required. * Follow the [instructions](https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk-extensions/incubator/README.md#declarative-configuration) to configure OpenTelemetry with declarative configuration. * Configure the `.tracer_provider.sampler` to include the `rule_based_routing` sampler.