Would be interesting to make the usage statistics (See UsageStatistics.java) class could actually retrieve its information in a dynamic way. Instead of explicitly calling things in its code.
Currently the code explicitly calls the ArchitectureMonitor to retrieve nodes archs.
So, that new feature has resurfaced recently to facilitate handling JENKINS-26466 (node_monitors package extraction as a new plugin).
So, adding a new dedicated extension point would enable some things:
- it would enable ArchitectureMonitor to be an @Extension of that new ExtensionPoint so that UsageStatistics doesn't depend on a NodeMonitor impl anymore (thanks jglick for the idea)
- On the feature front, it would also help fulfill a request I've done some years ago, which actually resurfaced here
- is blocking
-
JENKINS-26466 Split node monitors from core
- Open
- relates to
-
JENKINS-49808 Define user telemetry/analytics requirements
- Closed
- links to