Skip to content

fix(onboarding): update .NET Metrics samples to SDK v6.1.0#108034

Merged
Flash0ver merged 2 commits intomasterfrom
fix/onboarding-metrics-dotnet-samples
Feb 12, 2026
Merged

fix(onboarding): update .NET Metrics samples to SDK v6.1.0#108034
Flash0ver merged 2 commits intomasterfrom
fix/onboarding-metrics-dotnet-samples

Conversation

@Flash0ver
Copy link
Member

@Flash0ver Flash0ver commented Feb 11, 2026

Summary

Fix Metrics samples for the .NET SDK v6.1.0

Remarks

An oversight on my end:
After an internal discussion about the API shape related to the "unit" parameter, we removed the new SentryUnits type before shipping in a non-pre-release, and provided overloads for the already existing MeasurementUnit type.
Just before the release of the .NET SDK v6.1.0, I did update the Sentry Documentation, but forgot to update the Sentry Onboarding/GettingStarted pages.

Follow up from #106551

Testing

Copy-pasted both code snippets from the Preview Deployment, to validate against a .NET project with a reference to Sentry 6.1.0.


skip-changelog: #106551 has not been released yet
#skip-changelog

@Flash0ver Flash0ver self-assigned this Feb 11, 2026
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Feb 11, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Feb 11, 2026

Semver Impact of This PR

🟢 Patch (bug fixes)

📋 Changelog Preview

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


This PR will not appear in the changelog.


🤖 This preview updates automatically when you update the PR.

@Flash0ver Flash0ver marked this pull request as ready for review February 12, 2026 10:31
@Flash0ver Flash0ver requested a review from a team as a code owner February 12, 2026 10:31
@Flash0ver Flash0ver merged commit 745da43 into master Feb 12, 2026
71 checks passed
@Flash0ver Flash0ver deleted the fix/onboarding-metrics-dotnet-samples branch February 12, 2026 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants