Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-32485

Extension Point for contributing usage statistics

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core

      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

            Unassigned Unassigned
            batmat Baptiste Mathus
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: