AndyIbanez / andyibanez-com

Static website.
1 stars 0 forks source link

posts/benchmarking-app-metrickit/ #29

Open utterances-bot opened 3 years ago

utterances-bot commented 3 years ago

Benchmarking Your App with MetricKit • Andy Ibanez

https://www.andyibanez.com/posts/benchmarking-app-metrickit/

jk19910410 commented 3 years ago

I'm using MXSignpostIntervalBegin() and MXSignpostIntervalEnd(), 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 MXSignpostIntervalBegin() and MXSignpostIntervalEnd() 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 12 running iOS 14.2

pomozoff commented 1 year ago

So do I. Any payload has empty signpostMetrics array. iOS 15 & iOS 16