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
Add ignoredTransactions option to filter out transactions by name (#3871)
* Auto config for Spring Boot combined with OTel but without agent
* try to cleanup otel classloader
* make agent, no agent and agent without auto init work for spring boot
* Fix ignored instrumentation for OTel without agent; separate sample for no agent
* fix test result upload on CI
* automatically detect otel and use OtelSpanFactory
* POTEL 54 cleanup
* fix non current span start child
* consider status codes below 400 to be OK
* Add ignoredTransactions option
* Update sentry/src/main/java/io/sentry/util/TracingUtils.java
Co-authored-by: Lukas Bloder <[email protected]>
* changelog
* Add test
---------
Co-authored-by: Lukas Bloder <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,11 @@
25
25
- In this mode the SDK makes use of `GlobalOpenTelemetry`
26
26
- Automatically set span factory based on presence of OpenTelemetry ([#3858](https://github.com/getsentry/sentry-java/pull/3858))
27
27
-`SentrySpanFactoryHolder` has been removed as it is no longer required.
28
+
- Add `ignoredTransactions` option to filter out transactions by name ([#3871](https://github.com/getsentry/sentry-java/pull/3871))
29
+
- can be used via ENV vars, e.g. `SENTRY_IGNORED_TRANSACTIONS=POST /person/,GET /pers.*`
30
+
- can also be set in options directly, e.g. `options.setIgnoredTransactions(...)`
31
+
- can also be set in `sentry.properties`, e.g. `ignored-transactions=POST /person/,GET /pers.*`
32
+
- can also be set in Spring config `application.properties`, e.g. `sentry.ignored-transactions=POST /person/,GET /pers.*`
28
33
- Add a sample for showcasing Sentry with OpenTelemetry for Spring Boot 3 with our Java agent (`sentry-samples-spring-boot-jakarta-opentelemetry`) ([#3856](https://github.com/getsentry/sentry-java/pull/3828))
29
34
- Add a sample for showcasing Sentry with OpenTelemetry for Spring Boot 3 without our Java agent (`sentry-samples-spring-boot-jakarta-opentelemetry-noagent`) ([#3856](https://github.com/getsentry/sentry-java/pull/3856))
30
35
- Add a sample for showcasing Sentry with OpenTelemetry (`sentry-samples-console-opentelemetry-noagent`) ([#3856](https://github.com/getsentry/sentry-java/pull/3862))
0 commit comments