From 79e1bb9789c089b6665c1580e369b24b9919fd39 Mon Sep 17 00:00:00 2001 From: Alexander Dinauer Date: Fri, 30 Oct 2026 10:22:53 +0100 Subject: [PATCH 1/2] ref(metrics): Promote metrics capture API Remove the remaining experimental annotation from SentryClient.captureMetric. The interface and high-level metrics API are already stable, while buffering and accumulation can continue evolving internally. Refs #6408 Refs #6150 Refs #6151 Co-Authored-By: Claude --- sentry/src/main/java/io/sentry/SentryClient.java | 1 - 1 file changed, 1 deletion(-) diff --git a/sentry/src/main/java/io/sentry/SentryClient.java b/sentry/src/main/java/io/sentry/SentryClient.java index 9c019df1f5..4b435e7d38 100644 --- a/sentry/src/main/java/io/sentry/SentryClient.java +++ b/sentry/src/main/java/io/sentry/SentryClient.java @@ -1350,7 +1350,6 @@ public void captureBatchedLogEvents(final @NotNull SentryLogEvents logEvents) { } } - @ApiStatus.Experimental @Override public void captureMetric( @Nullable SentryMetricsEvent metricsEvent, From be1ffbbf137820ca2e157093675905549e62da59 Mon Sep 17 00:00:00 2001 From: Alexander Dinauer Date: Fri, 30 Oct 2026 10:23:13 +0100 Subject: [PATCH 2/2] changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9eb80a6a29..9c4f9960e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -49,6 +49,10 @@ - Remove deprecated OpenTelemetry integration classes and the legacy `SentrySpanStorage` ([#6243](https://github.com/getsentry/sentry-java/pull/6243)) - Decide whether foregrounding the app starts a new session on a monotonic clock instead of the wall clock, so that a device time change no longer starts a session that should have been resumed, or resumes one that should have ended. This affects session counts ([#6096](https://github.com/getsentry/sentry-java/pull/6096)) +### Improvements + +- Promote the metrics capture API from experimental to stable ([#6425](https://github.com/getsentry/sentry-java/pull/6425)) + ## 8.62.0 ### Improvements