Can't get a cumulativeHitchTimeRatio metric from MetricKit

Hello guys!

I'm trying to collect metrics for each UIViewController in my iOS app.

I can see all aggregated metrics except the cumulativeHitchTimeRatio one.

I created a sample project and run UI test for more than 2 hours to allow Apple MetricKit to collect the metrics. When I run measure UI test it collects needed data well (look attached screenshots), but, unfortunately, I receive empty signpostMetrics array next day (json attached) in the didReceive(_:) method.

Could you help me to understand how to get the cumulativeHitchTimeRatio metric from the MetricKit framework?

  • I got the same problem. I got more than 20W signpostIntervalData online, but none of them has cumulativeHitchTimeRatio info.

Add a Comment

Replies

Forgotten JSON

Fixed by using correct MetricKit API to start a signpost.

  • Thanks for closing the loop.

Add a Comment