Extension Point for contributing usage statistics

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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

            Assignee:
            Unassigned
            Reporter:
            Baptiste Mathus
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: