Closed markushi closed 1 year ago
Hey @markushi! I'm working on utilizing these fields in parallel, can I assume that processor_count
will just be a simple number value and processor_frequency
will be a number value representing frequency in mhz (ie 2500 for 2500mhz/2.5ghz)? This is also how this data is stored in profiles from what I can tell.
Hey @edwardgou-sentry! We want to adhere to the way of reporting these fields that exists from Profiling, so it's safe to assume this!
Awesome! Thanks @kahest ! 🙏
It seems that for iOS there is no reliable way to retrieve CPU description or frequency. The workarounds suggest to hard code the device model with such information, I think we should do this in the server side to avoid the need to update the SDK to include more information on every new device release.
We just need to compile an updated list like the one in this
@edwardgou-sentry before merging the Android PR, could you help me clarify the following:
processor_count
should be the number of logical cores or physical cores?processor_frequency
is defined as a single number in the protocol, but can be different for every core - I assume we want to send over the highest value right?@edwardgou-sentry any chance you could take a look into my questions above?
Hey @markushi , sorry I missed this!
Thanks!
Our device context docs describe a few new CPU related fields which are not provided by the mobile SDKs yet.
processor_count
cpu_description
processor_frequency
GH discussion on device classification https://github.com/getsentry/sentry/discussions/44422