MetricKit

RSS for tag

Aggregate and analyze per-device reports on power and performance metrics using MetricKit.

Posts under MetricKit tag

84 Posts

Post

Replies

Boosts

Views

Activity

How to access MXBackgroundExitData
I am trying to access the cumulative exit counts through the MXBackgroundExitData. I do this in the AppDelegate and upload it to a database for viewing. However, all of the counts are always 0. I tried terminating the application through the app switcher which should trigger a normal exit but the cumaltiveNormalExitCount stays at 0. Should I be accessing this data in a different class?
1
0
651
Sep ’21
No Metrics (Battery, Memory, etc) stored in Organizer
Hey Everyone, I'm trying to understand the thresholds required before the Metric section of Organizer starts populating? We have one app with several thousand workouts logged on it everyday, and have never seen any of these populate. We get crash reports without issue, but nothing in Metrics. Clicking "Learn More" I can confirm: 'Step 1' is done, and we are supported (WatchOS 7, and iOS 14). We are distributed on the App Store Users agree to share data. As far as I can tell there is nothing we need to do here, it's part of the iPhone onboarding that asks if you are cool with sharing data. We see other analytics data for people who opt-in, so I'm assuming they opt-in for these metrics too. We are signed in, confirmed by being able to download Crash Reports. Finally I see this line: "To provide accurate results, Metrics organizer reports require significant usage of your app, and each metric has different usage thresholds." If you don't mind sharing, could you help give me an idea as to whether or not I should expect to see data here? Thanks in advance.
1
1
1.6k
Sep ’21
MetricKit: Custom Metrics signposts
Hi, I'm using mxSignpost() to post custom metrics for my iOS app and I'm subscribing for receiving metric payloads, but I'm not seeing my custom signposts in the payloads. I'm only seeing the standard metrics in the payloads. If I simulate payloads in Xcode, I see the fake signposts that are generated by the simulation. I've confirmed using breakpoints that I'm calling mxSignpost() and I've exercised the paths that to trigger the signposts. Is there any way to see what MetricKit has logged? Otherwise, I have to wait 24 hours to see the posted payloads. I'm testing on iPhone 8 running iOS 13.6. Thanks, Tom
3
0
2.0k
Sep ’21
MetricKit diagnostics payload doesn't return the crashing address
I was testing out MetricKit on iOS 15 beta and tried to do a crash but when I recieved the crash information there was no threads with threadAttributed marked true. As I understand, if threadAttributed is true that means this is the crashing thread. So, is this an iOS 15 bug or I can find the crashing thread by a different method? You'll find the diagnostic payload in the attached file. data.json
1
0
926
Aug ’21
How to access MXBackgroundExitData
I am trying to access the cumulative exit counts through the MXBackgroundExitData. I do this in the AppDelegate and upload it to a database for viewing. However, all of the counts are always 0. I tried terminating the application through the app switcher which should trigger a normal exit but the cumaltiveNormalExitCount stays at 0. Should I be accessing this data in a different class?
Replies
1
Boosts
0
Views
651
Activity
Sep ’21
No Metrics (Battery, Memory, etc) stored in Organizer
Hey Everyone, I'm trying to understand the thresholds required before the Metric section of Organizer starts populating? We have one app with several thousand workouts logged on it everyday, and have never seen any of these populate. We get crash reports without issue, but nothing in Metrics. Clicking "Learn More" I can confirm: 'Step 1' is done, and we are supported (WatchOS 7, and iOS 14). We are distributed on the App Store Users agree to share data. As far as I can tell there is nothing we need to do here, it's part of the iPhone onboarding that asks if you are cool with sharing data. We see other analytics data for people who opt-in, so I'm assuming they opt-in for these metrics too. We are signed in, confirmed by being able to download Crash Reports. Finally I see this line: "To provide accurate results, Metrics organizer reports require significant usage of your app, and each metric has different usage thresholds." If you don't mind sharing, could you help give me an idea as to whether or not I should expect to see data here? Thanks in advance.
Replies
1
Boosts
1
Views
1.6k
Activity
Sep ’21
MetricKit: Custom Metrics signposts
Hi, I'm using mxSignpost() to post custom metrics for my iOS app and I'm subscribing for receiving metric payloads, but I'm not seeing my custom signposts in the payloads. I'm only seeing the standard metrics in the payloads. If I simulate payloads in Xcode, I see the fake signposts that are generated by the simulation. I've confirmed using breakpoints that I'm calling mxSignpost() and I've exercised the paths that to trigger the signposts. Is there any way to see what MetricKit has logged? Otherwise, I have to wait 24 hours to see the posted payloads. I'm testing on iPhone 8 running iOS 13.6. Thanks, Tom
Replies
3
Boosts
0
Views
2.0k
Activity
Sep ’21
MetricKit diagnostics payload doesn't return the crashing address
I was testing out MetricKit on iOS 15 beta and tried to do a crash but when I recieved the crash information there was no threads with threadAttributed marked true. As I understand, if threadAttributed is true that means this is the crashing thread. So, is this an iOS 15 bug or I can find the crashing thread by a different method? You'll find the diagnostic payload in the attached file. data.json
Replies
1
Boosts
0
Views
926
Activity
Aug ’21