You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cel-sampler/README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@ The `CelBasedSampler` supports [declarative configuration](https://opentelemetry
7
7
To use:
8
8
9
9
* Add a dependency on `io.opentelemetry.contrib:opentelemetry-cel-sampler:<version>`
10
+
* 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.
10
11
* 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.
11
12
* Configure the `.tracer_provider.sampler` to include the `cel_based` sampler.
Copy file name to clipboardExpand all lines: samplers/README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@ The following samplers support [declarative configuration](https://opentelemetry
9
9
To use:
10
10
11
11
* Add a dependency on `io.opentelemetry.contrib:opentelemetry-samplers:<version>`
12
+
* NOTE: if using the java agent, this sampler is already included in versions 2.21+ and no additional dependency is required.
12
13
* 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.
13
14
* Configure the `.tracer_provider.sampler` to include the `rule_based_routing` sampler.
0 commit comments