That is beyond Apport’s scope. It’s more a crash collector and bug info collector, not a replacement for actual monitoring of core components. Which in turn when they crash trigger Apport collection.
I’m not sure expanding Apport monitoring is the proper solution here either, performance monitoring for core apps is even MORE likely to expose info and would have to be opt-in (like sending apport reports is!), and has even more regulatory chaos like GDPR to worry about and such. That’s why I think Apport is ‘fine’ for actual crash/error handling.
Additionally, consider also that the Desktop Team wouldn’t necessarily be the proper team. What if GNOME crashed only because of an incompatibility with a C library that is covered by Foundations and wasn’t caught during development? Then it needs Foundations to look at it. And what if they look at it and determine its a kernel-level issue? NOW you have the Kernel team added to the scope.
Another case: what if the error is because someone upgraded and its that user’s configuration at fault? Because upgrading doesn’t migrate config formats over always. Then you are introducing useless noise to the system.
Another case from my radar space: You installed something - an external plugin or such that works with software 1.2.3 but now the upgrade is 1.3.5 and now your addon is causing 1.3.5 to crash. That means there’s noise now from users misconfiguring their systems with incompatibilities that load into the tracker. And may send people hunting them but not able to solve nor reproduce it. (And this is a HUGE chunk of things lately with ChatGPT and AI giving users needing help bad advice, or them following random Internet tutorials)
And another common case I see nowadays: people with older hardware trying to use newer kernels but never updating their BIOS for compatibility. Or cases where older hardware just can’t get BIOS updates and generate crash reports. THAT would be another section of noise where we’d get reports but “we can’t do anything because you don’t have any BIOS updates necessary for this”. And then that just adds to the noise that Apport already would see.
I get it - better monitoring of errors, etc. would work. But given this is ‘worldwide scale’ and you are asking for things BEYOND the scope of crash reporting, you’re really asking for live metrics reporting to things like a Sentry instance, and the performance is going to heavily depend on endpoint hardware configs (old systems vs. cutting edge) and other issues where expanding Apport to cover doesn’t make sense because that’s not what Apport was made to do. Barring legality and jurisdictional issues (case in point Iran or Iraq may have issues with this due to sanctions or other issues, or even things like US/UK can’t collect data there due to sanctions, etc.).
(Also, you don’t gain anything by changing Apport to add these metrics, nor by simply switching tracking systems to Sentry or such, because you introduce the same logistical headaches that Apport does, but even more of them.)