Skip to content

Commit 6040247

Browse files
adinauerclaude
andcommitted
docs(options): Clarify enableQueueTracing covers native + OTel paths
The setEnableQueueTracing Javadoc said only "Whether queue operations (publish, process) should be traced." — silent on the fact that the flag also drives OTel messaging-span transformation when sentry-opentelemetry is on the classpath. Reword on both the getter and setter to make explicit that the flag both emits Sentry-native queue spans and transforms OTel messaging spans to match Sentry's queue conventions, so customers grepping their IDE see what the flag does in either integration mode. Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 26f4229 commit 6040247

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

sentry/src/main/java/io/sentry/SentryOptions.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2708,18 +2708,20 @@ public void setEnableCacheTracing(boolean enableCacheTracing) {
27082708
}
27092709

27102710
/**
2711-
* Whether queue operations (publish, process) should be traced.
2711+
* Whether Sentry emits Queue spans and transforms OpenTelemetry messaging spans to match Sentry's
2712+
* queue conventions.
27122713
*
2713-
* @return true if queue operations should be traced
2714+
* @return true if queue tracing is enabled
27142715
*/
27152716
public boolean isEnableQueueTracing() {
27162717
return enableQueueTracing;
27172718
}
27182719

27192720
/**
2720-
* Whether queue operations (publish, process) should be traced.
2721+
* Whether Sentry emits Queue spans and transforms OpenTelemetry messaging spans to match Sentry's
2722+
* queue conventions.
27212723
*
2722-
* @param enableQueueTracing true if queue operations should be traced
2724+
* @param enableQueueTracing true to enable queue tracing
27232725
*/
27242726
public void setEnableQueueTracing(boolean enableQueueTracing) {
27252727
this.enableQueueTracing = enableQueueTracing;

0 commit comments

Comments
 (0)