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
feat(options): Add support for SENTRY_SAMPLE_RATE environment variable / sample-rate property (#5112)
* feat: Add support for SENTRY_SAMPLE_RATE environment variable
Add `sampleRate` to `ExternalOptions` so it can be configured via the
`SENTRY_SAMPLE_RATE` environment variable or `sample-rate` property,
matching the behavior of other sample rate options.
FixesGH-5091
Co-Authored-By: Claude <noreply@anthropic.com>
* docs: Add changelog entry for SENTRY_SAMPLE_RATE support
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.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
@@ -4,6 +4,7 @@
4
4
5
5
### Features
6
6
7
+
- Add support for `SENTRY_SAMPLE_RATE` environment variable / `sample-rate` property ([#5112](https://github.com/getsentry/sentry-java/pull/5112))
7
8
- Create `sentry-opentelemetry-otlp` and `sentry-opentelemetry-otlp-spring` modules for combining OpenTelemetry SDK OTLP export with Sentry SDK ([#5100](https://github.com/getsentry/sentry-java/pull/5100))
8
9
- OpenTelemetry is configured to send spans to Sentry directly using an OTLP endpoint.
9
10
- Sentry only uses trace and span ID from OpenTelemetry (via `OpenTelemetryOtlpEventProcessor`) but will not send spans through OpenTelemetry nor use OpenTelemetry `Context` for `Scopes` propagation.
0 commit comments