Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send the .NET Runtime Identifier to Sentry #1708

Merged
merged 2 commits into from
Jun 13, 2022

Conversation

mattjohnsonpint
Copy link
Contributor

@mattjohnsonpint mattjohnsonpint commented Jun 13, 2022

This sends the value from System.Runtime.InteropServices.RuntimeInformation.RuntimeIdentifier to Sentry with all events, on the runtime context info. This is helpful (for example) when working with MAUI events.

It shows up in the Sentry issues page under the Runtime section further down the page.

image

Note, that the RuntimeIdentifier property is only available on .NET 5 and greater, so it is not sent for other targets.

@mattjohnsonpint
Copy link
Contributor Author

Per discussion, it would be nice to have it appear as a tag, like this:

image

But we don't want to send it as a custom tag for various reasons. Instead we'll send it just on the runtime context information, and consider having it extracted as a tag on the ingestion side.

@mattjohnsonpint mattjohnsonpint merged commit 3af55f7 into main Jun 13, 2022
@mattjohnsonpint mattjohnsonpint deleted the add-runtime-identifier branch June 13, 2022 21:11
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.

2 participants