I have integrated MetricKit into my production app and listening for the corresponding callback
func didReceive(_ payloads: [MXDiagnosticPayload])
After some time, I've noticed that the hang diagnostics data collected are all for hangs longer than 1 second.
- Does MetricKit only collect hang data for hangs longer than 1 second?
- Can this threshold be adjusted, for example, to 500ms?
- Is there any sampling involved in the collection of hang diagnostics? The number of hang events collected by MetricKit is significantly lower compared to other third-party platforms.
Thank you for your response, this is very important to me.