Skip to content

ref!: remove Experimental from Metrics API#5023

Merged
jamescrosswell merged 2 commits intomainfrom
ref/metrics-stable-api
Mar 16, 2026
Merged

ref!: remove Experimental from Metrics API#5023
jamescrosswell merged 2 commits intomainfrom
ref/metrics-stable-api

Conversation

@Flash0ver
Copy link
Copy Markdown
Member

@Flash0ver Flash0ver commented Mar 13, 2026

Summary

Remove "Experimental" properties and [ExperimentalAttribute] from all Metrics APIs.

Remarks

Changelog Entry

The Metrics APIs are now stable: removed Experimental from SentrySdk, SentryOptions and IHub

Issues

Closes #4921

@Flash0ver Flash0ver self-assigned this Mar 13, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 13, 2026

Semver Impact of This PR

None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


Breaking Changes 🛠

  • The _Metrics_ APIs are now stable: removed Experimental from SentrySdk, SentryOptions and IHub by Flash0ver in #5023

Dependencies ⬆️

Deps

  • chore(deps): update Java SDK to v8.35.0 by github-actions in #5017
  • chore(deps): replaced the heavy protobuf-javalite 3.25.8 dependency with a light-weight epitaph 0.1.0 alternative on Android (getsentry/sentry-java#5157) by github-actions in #5017
  • chore(deps): update CLI to v3.3.3 by github-actions in #5002
  • chore(deps): update Cocoa SDK to v9.6.0 by github-actions in #4958

🤖 This preview updates automatically when you update the PR.

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.95%. Comparing base (bfe5319) to head (369e8df).
⚠️ Report is 11 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5023      +/-   ##
==========================================
+ Coverage   73.92%   73.95%   +0.02%     
==========================================
  Files         497      497              
  Lines       17974    17966       -8     
  Branches     3517     3516       -1     
==========================================
- Hits        13287    13286       -1     
+ Misses       3832     3823       -9     
- Partials      855      857       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Flash0ver Flash0ver marked this pull request as ready for review March 13, 2026 15:53
@jamescrosswell
Copy link
Copy Markdown
Collaborator

This again:

/Users/runner/work/sentry-dotnet/sentry-dotnet/src/Sentry.Bindings.Cocoa/Sentry.Bindings.Cocoa.csproj(112,11): error MSB4006: There is a circular dependency in the target dependency graph involving target "SetupCocoaSDK". [TargetFramework=net9.0-ios18.0]
/Users/runner/work/sentry-dotnet/sentry-dotnet/src/Sentry.Bindings.Cocoa/Sentry.Bindings.Cocoa.csproj(112,11): error MSB4006: There is a circular dependency in the target dependency graph involving target "SetupCocoaSDK". [TargetFramework=net9.0-maccatalyst18.0]

I bump into this once or twice a day... just costs time requeusting gh rerun the jobs and then coming back later to do actual reviews/approvals.

It should hopefully be addressed by #4956. @Flash0ver I think we should get that merged in to check (we can always revert if it doesn't work).

@jamescrosswell jamescrosswell merged commit 275bcef into main Mar 16, 2026
58 of 59 checks passed
@jamescrosswell jamescrosswell deleted the ref/metrics-stable-api branch March 16, 2026 00:54
jamescrosswell added a commit to getsentry/sentry-docs that referenced this pull request Mar 19, 2026
## DESCRIBE YOUR PR
With the next release of the Sentry .NET SDK - expected to be `v6.3.0` -
the Metrics APIs are no longer `Experimental`.
This changeset updates the respective C# code snippets.

Related PRs:
- getsentry/sentry-dotnet#5023
- getsentry/sentry#110636

## IS YOUR CHANGE URGENT?  

Help us prioritize incoming PRs by letting us know when the change needs
to go live.
- [ ] Urgent deadline (GA date, etc.): <!-- ENTER DATE HERE -->
- [x] Other deadline: Release of the Sentry .NET SDK v6.3.0
- [ ] None: Not urgent, can wait up to 1 week+

## SLA

- Teamwork makes the dream work, so please add a reviewer to your PRs.
- Please give the docs team up to 1 week to review your PR unless you've
added an urgent due date to it.
Thanks in advance for your help!

## PRE-MERGE CHECKLIST

*Make sure you've checked the following before merging your changes:*

- [x] Checked Vercel preview for correctness, including links
- [x] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
  - [x] @jamescrosswell
- [x] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)

## EXTRA RESOURCES

- [Sentry Docs contributor guide](https://docs.sentry.io/contributing/)

Co-authored-by: James Crosswell <jamescrosswell@users.noreply.github.com>
constantinius pushed a commit to getsentry/sentry-docs that referenced this pull request Mar 20, 2026
## DESCRIBE YOUR PR
With the next release of the Sentry .NET SDK - expected to be `v6.3.0` -
the Metrics APIs are no longer `Experimental`.
This changeset updates the respective C# code snippets.

Related PRs:
- getsentry/sentry-dotnet#5023
- getsentry/sentry#110636

## IS YOUR CHANGE URGENT?  

Help us prioritize incoming PRs by letting us know when the change needs
to go live.
- [ ] Urgent deadline (GA date, etc.): <!-- ENTER DATE HERE -->
- [x] Other deadline: Release of the Sentry .NET SDK v6.3.0
- [ ] None: Not urgent, can wait up to 1 week+

## SLA

- Teamwork makes the dream work, so please add a reviewer to your PRs.
- Please give the docs team up to 1 week to review your PR unless you've
added an urgent due date to it.
Thanks in advance for your help!

## PRE-MERGE CHECKLIST

*Make sure you've checked the following before merging your changes:*

- [x] Checked Vercel preview for correctness, including links
- [x] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
  - [x] @jamescrosswell
- [x] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)

## EXTRA RESOURCES

- [Sentry Docs contributor guide](https://docs.sentry.io/contributing/)

Co-authored-by: James Crosswell <jamescrosswell@users.noreply.github.com>
evgenygunko pushed a commit to evgenygunko/CopyWordsDA that referenced this pull request Mar 31, 2026
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [Sentry.Maui](https://sentry.io/) ([source](https://github.com/getsentry/sentry-dotnet)) | nuget | minor | `6.2.0` -> `6.3.0` |

---

### Release Notes

<details>
<summary>getsentry/sentry-dotnet (Sentry.Maui)</summary>

### [`v6.3.0`](https://github.com/getsentry/sentry-dotnet/blob/HEAD/CHANGELOG.md#630)

[Compare Source](getsentry/sentry-dotnet@6.2.0...6.3.0)

##### Features

-   The *Metrics* APIs are now stable: removed `Experimental` from `SentrySdk`, `SentryOptions` and `IHub` ([#&#8203;5023](getsentry/sentry-dotnet#5023))
-   Report a new *Diagnostic* (`SENTRY1001`) when a Metrics-API is invoked with an unsupported numeric type ([#&#8203;4840](getsentry/sentry-dotnet#4840))

##### Fixes

-   Common tags such as `Environment` and `Release` and custom event processors are all now correctly applied to CaptureFeedback events ([#&#8203;4942](getsentry/sentry-dotnet#4942))
-   Include `Data` set via `ITransactionTracer` in `SentryTransaction` ([#&#8203;4148](getsentry/sentry-dotnet#4148))

##### Dependencies

-   Bump Cocoa SDK from v9.5.0 to v9.7.0 ([#&#8203;4958](getsentry/sentry-dotnet#4958), [#&#8203;5015](getsentry/sentry-dotnet#5015))
-   Bump CLI from v3.3.0 to v3.3.3 ([#&#8203;5002](getsentry/sentry-dotnet#5002))
-   Bump Java SDK from v8.34.1 to v8.35.0 ([#&#8203;5017](getsentry/sentry-dotnet#5017))
-   Bump Native SDK from v0.13.2 to v0.13.3 ([#&#8203;5045](getsentry/sentry-dotnet#5045))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or PR is renamed to start with "rebase!".

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired.

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
github-merge-queue bot pushed a commit to DFE-Digital/teaching-record-system that referenced this pull request Apr 1, 2026
…3244)

Pinned [Sentry.AspNetCore](https://github.com/getsentry/sentry-dotnet)
at 6.3.0.

<details>
<summary>Release notes</summary>

_Sourced from [Sentry.AspNetCore's
releases](https://github.com/getsentry/sentry-dotnet/releases)._

## 6.3.0

### Features

- The _Metrics_ APIs are now stable: removed `Experimental` from
`SentrySdk`, `SentryOptions` and `IHub`
([#​5023](getsentry/sentry-dotnet#5023))
- Report a new _Diagnostic_ (`SENTRY1001`) when a Metrics-API is invoked
with an unsupported numeric type
([#​4840](getsentry/sentry-dotnet#4840))

### Fixes

- Common tags such as `Environment` and `Release` and custom event
processors are all now correctly applied to CaptureFeedback events
([#​4942](getsentry/sentry-dotnet#4942))
- Include `Data` set via `ITransactionTracer` in `SentryTransaction`
([#​4148](getsentry/sentry-dotnet#4148))

### Dependencies

- Bump Cocoa SDK from v9.5.0 to v9.7.0
([#​4958](getsentry/sentry-dotnet#4958),
[#​5015](getsentry/sentry-dotnet#5015))
- Bump CLI from v3.3.0 to v3.3.3
([#​5002](getsentry/sentry-dotnet#5002))
- Bump Java SDK from v8.34.1 to v8.35.0
([#​5017](getsentry/sentry-dotnet#5017))
- Bump Native SDK from v0.13.2 to v0.13.3
([#​5045](getsentry/sentry-dotnet#5045))

Commits viewable in [compare
view](getsentry/sentry-dotnet@6.2.0...6.3.0).
</details>

Updated
[Sentry.Extensions.Logging](https://github.com/getsentry/sentry-dotnet)
from 6.2.0 to 6.3.0.

<details>
<summary>Release notes</summary>

_Sourced from [Sentry.Extensions.Logging's
releases](https://github.com/getsentry/sentry-dotnet/releases)._

## 6.3.0

### Features

- The _Metrics_ APIs are now stable: removed `Experimental` from
`SentrySdk`, `SentryOptions` and `IHub`
([#​5023](getsentry/sentry-dotnet#5023))
- Report a new _Diagnostic_ (`SENTRY1001`) when a Metrics-API is invoked
with an unsupported numeric type
([#​4840](getsentry/sentry-dotnet#4840))

### Fixes

- Common tags such as `Environment` and `Release` and custom event
processors are all now correctly applied to CaptureFeedback events
([#​4942](getsentry/sentry-dotnet#4942))
- Include `Data` set via `ITransactionTracer` in `SentryTransaction`
([#​4148](getsentry/sentry-dotnet#4148))

### Dependencies

- Bump Cocoa SDK from v9.5.0 to v9.7.0
([#​4958](getsentry/sentry-dotnet#4958),
[#​5015](getsentry/sentry-dotnet#5015))
- Bump CLI from v3.3.0 to v3.3.3
([#​5002](getsentry/sentry-dotnet#5002))
- Bump Java SDK from v8.34.1 to v8.35.0
([#​5017](getsentry/sentry-dotnet#5017))
- Bump Native SDK from v0.13.2 to v0.13.3
([#​5045](getsentry/sentry-dotnet#5045))

Commits viewable in [compare
view](getsentry/sentry-dotnet@6.2.0...6.3.0).
</details>

Pinned [Sentry.Serilog](https://github.com/getsentry/sentry-dotnet) at
6.3.0.

<details>
<summary>Release notes</summary>

_Sourced from [Sentry.Serilog's
releases](https://github.com/getsentry/sentry-dotnet/releases)._

## 6.3.0

### Features

- The _Metrics_ APIs are now stable: removed `Experimental` from
`SentrySdk`, `SentryOptions` and `IHub`
([#​5023](getsentry/sentry-dotnet#5023))
- Report a new _Diagnostic_ (`SENTRY1001`) when a Metrics-API is invoked
with an unsupported numeric type
([#​4840](getsentry/sentry-dotnet#4840))

### Fixes

- Common tags such as `Environment` and `Release` and custom event
processors are all now correctly applied to CaptureFeedback events
([#​4942](getsentry/sentry-dotnet#4942))
- Include `Data` set via `ITransactionTracer` in `SentryTransaction`
([#​4148](getsentry/sentry-dotnet#4148))

### Dependencies

- Bump Cocoa SDK from v9.5.0 to v9.7.0
([#​4958](getsentry/sentry-dotnet#4958),
[#​5015](getsentry/sentry-dotnet#5015))
- Bump CLI from v3.3.0 to v3.3.3
([#​5002](getsentry/sentry-dotnet#5002))
- Bump Java SDK from v8.34.1 to v8.35.0
([#​5017](getsentry/sentry-dotnet#5017))
- Bump Native SDK from v0.13.2 to v0.13.3
([#​5045](getsentry/sentry-dotnet#5045))

Commits viewable in [compare
view](getsentry/sentry-dotnet@6.2.0...6.3.0).
</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat!: remove Experimental from Metrics APIs

2 participants