MetricKit for System Extension

I saw another post https://developer.apple.com/forums/thread/652719 where it was mentioned at this point MetricKit is not meant to be enabled within the App Extension targets and it's up to the container app to receive the payloads on behalf of the extensions. But what's the guidance to use MetricKit for System Extension targets on macOS? I've tried subscribing to diagnostic reports from both a container app and its system extension on macOS, neither could receive any payload from the system extension.

(The subscriber within the container app did receive payloads for its own reports - e.g. when the container app crashed itself, so I'm somewhat sure my test code was set up properly)

I took a look at the bug mentioned on that other thread and it seems that nothing has changed on this. MetrickKit and appexes are still not good friends )-:

But what's the guidance to use MetricKit for System Extension targets on macOS?

I think it’s largely the same. However, this is slightly different than the appex case so I think it’s worth you filing a new bug about it.

Please post your bug number, just for the record.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Thanks The Eskimo! I've submitted FB11985759.

MetricKit for System Extension
 
 
Q