• Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major Major
    • metrics-plugin
    • None

      Now that there is a significant number of Jenkins releases requiring Java 8, we can upgrade to DropWizard Metrics 4.0.x series.

      This will require a core version bump

          [JENKINS-52061] Upgrade metrics to 4.0.x

          Stephen Connolly created issue -
          Stephen Connolly made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Stephen Connolly made changes -
          Attachment New: compat_report.html [ 43017 ]
          Stephen Connolly made changes -
          Attachment Original: compat_report.html [ 43017 ]
          Stephen Connolly made changes -
          Attachment New: metrics-servlet-compat_report.html [ 43018 ]
          Stephen Connolly made changes -
          Attachment New: metrics-jvm-compat_report.html [ 43019 ]
          Stephen Connolly made changes -
          Attachment New: metrics-json-compat_report.html [ 43020 ]
          Stephen Connolly made changes -
          Attachment New: metrics-healthchecks-compat_report.html [ 43021 ]
          Stephen Connolly made changes -
          Attachment New: metrics-core-compat_report.html [ 43022 ]

          Analysis of upgrade from 3.1.2 to 4.0.2 using https://github.com/lvc/japi-compliance-checker

          Library Source Compatibility Binary Compatibility
          metrics-core 81.2% 81.2%
          metrics-healthchecks 100% 100%
          metrics-json 100% 100%
          metrics-jvm 100% 100%
          metrics-servlet 100% 100%

          So the only risk is metrics-core where the JMX classes have been removed and moved to metrics-jmx under a new package name

          Stephen Connolly added a comment - Analysis of upgrade from 3.1.2 to 4.0.2 using https://github.com/lvc/japi-compliance-checker Library Source Compatibility Binary Compatibility metrics-core 81.2% 81.2% metrics-healthchecks 100% 100% metrics-json 100% 100% metrics-jvm 100% 100% metrics-servlet 100% 100% So the only risk is metrics-core where the JMX classes have been removed and moved to metrics-jmx under a new package name

            stephenconnolly Stephen Connolly
            stephenconnolly Stephen Connolly
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: