sentry-unity icon indicating copy to clipboard operation
sentry-unity copied to clipboard

Platform-specific tag

Open vaind opened this issue 3 years ago • 8 comments
trafficstars

It could be useful if all events got a tag based on the platform they were captured on. Currently, you can filter by "device" but that's pretty specific so maybe it would be nice to look for issues based on the platform, like "WebGL", "Android", etc.

This SDK feature is rather specific for multi-platform SDKs so maybe have a look what Flutter/Xamarin does and use the same tag name.

vaind avatar Mar 30 '22 13:03 vaind

Interestingly this came up through a customer yesterday. We have some alignment in those tags in React Native, Capacitor and Flutter. I'm not sure where we document that (if we do) but it's something like event.origin=javascript, event.origin=java, etc. @marandaneto might know more

bruno-garcia avatar Mar 30 '22 13:03 bruno-garcia

The language isn't what I had in mind, more like the Application.Platform - https://docs.unity3d.com/ScriptReference/RuntimePlatform.html

vaind avatar Apr 01 '22 09:04 vaind

https://docs.sentry.io/platforms/react-native/usage/event-information/

marandaneto avatar Apr 01 '22 09:04 marandaneto

Before adding a tag like this we have to discuss with S&S and check if we should be using custom tags or alternative solutions.

bitsandfoxes avatar Apr 26 '22 15:04 bitsandfoxes

Before adding a tag like this we have to discuss with S&S and check if we should be using custom tags or alternative solutions.

fwiw Flutter and React Native already do it.

marandaneto avatar Apr 26 '22 17:04 marandaneto