Skip to content

Commit

Permalink
Remove docs reference to old OTel configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
radcortez authored and BarDweller committed Sep 19, 2024
1 parent cddc49d commit bcc8744
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions docs/src/main/asciidoc/opentelemetry-tracing.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -371,33 +371,6 @@ quarkus.otel.traces.sampler.arg=0.0
----
====

[NOTE]
====
Quarkus 3.0 introduced breaking changes on the configuration.
Sampler related property names and values change to comply with the latest Java OpenTelemetry SDK. During a transition period it will be possible to set the new configuration values in the old property because we are mapping `quarkus.opentelemetry.tracer.sampler` -> `quarkus.otel.traces.sampler`.
If the sampler is parent based, there is no need to set, the now dropped property, `quarkus.opentelemetry.tracer.sampler.parent-based`.
The values you need to set on `quarkus.opentelemetry.tracer.sampler` are now:
|===
|Old Sampler config value |New Sampler config value|New Sampler config value (Parent based)
|`on`
|`always_on`
|`parentbased_always_on`
|`off`
|`always_off`
|`parentbased_always_off`
|`ratio`
|`traceidratio`
|`parentbased_traceidratio`
|===
====

If you need to use a custom sampler there are now 2 different ways:

==== Sampler CDI Producer
Expand Down

0 comments on commit bcc8744

Please sign in to comment.