Skip to content

Commit cac8c1f

Browse files
adinauerclaude
andcommitted
chore(samples): Drop verbose comment above sentry.enable-queue-tracing
The OTel Kafka sample properties carried a 10-line comment explaining the OTel->Sentry remapping mechanism and SentryKafkaQueueConfiguration suppression behavior. That belongs in the SDK docs, not in a sample config — drop it so the property line speaks for itself. Co-Authored-By: Claude <noreply@anthropic.com>
1 parent b0f802a commit cac8c1f

2 files changed

Lines changed: 0 additions & 19 deletions

File tree

sentry-samples/sentry-samples-spring-boot-jakarta-opentelemetry-noagent/src/main/resources/application-kafka.properties

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
11
# Kafka — activate with: --spring.profiles.active=kafka
2-
3-
# In OTel mode, `sentry.enable-queue-tracing=true` enables the OTel->Sentry
4-
# messaging span remapping in `SpanDescriptionExtractor`/`SentrySpanExporter`:
5-
# it maps OTel messaging spans to `queue.publish`/`queue.process` ops with the
6-
# destination as description and transfers messaging attributes to root
7-
# transactions so the Sentry Queues product lights up. Sentry's Spring Kafka
8-
# auto-config (`SentryKafkaQueueConfiguration`) stays suppressed here because
9-
# `sentry-opentelemetry-agentless-spring` pulls in the OTel customizer that
10-
# its `@ConditionalOnMissingClass(...OpenTelemetry...)` guard looks for, so
11-
# the flag does NOT wire the Sentry-native Kafka interceptors in this sample.
122
sentry.enable-queue-tracing=true
133

144
spring.kafka.bootstrap-servers=localhost:9092

sentry-samples/sentry-samples-spring-boot-jakarta-opentelemetry/src/main/resources/application-kafka.properties

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
# Kafka — activate with: --spring.profiles.active=kafka
2-
3-
# In OTel mode, `sentry.enable-queue-tracing=true` enables the OTel->Sentry
4-
# messaging span remapping in `SpanDescriptionExtractor`/`SentrySpanExporter`:
5-
# it maps OTel messaging spans to `queue.publish`/`queue.process` ops with the
6-
# destination as description and transfers messaging attributes to root
7-
# transactions so the Sentry Queues product lights up. Sentry's Spring Kafka
8-
# auto-config (`SentryKafkaQueueConfiguration`) stays suppressed here because
9-
# of its `@ConditionalOnMissingClass(...OpenTelemetry...)` guard, so the flag
10-
# does NOT wire the Sentry-native Kafka interceptors in this sample.
112
sentry.enable-queue-tracing=true
123

134
spring.kafka.bootstrap-servers=localhost:9092

0 commit comments

Comments
 (0)