Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-7043

Exporting com.codahale.metrics.MetricRegistry is breaking the abstraction

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Blocker
    • Resolution: Unresolved
    • Affects Version/s: Commons Metrics 1.0.0
    • Fix Version/s: Commons Metrics 1.2.8
    • Component/s: None
    • Labels:
      None

      Description

      commons metrics provides a nice abstraction over com.codahale.metrics - however it is exporting com.codahale.metrics.MetricRegistry which seems to be the only way to get at registered metrics objects. Which in turn is completely breaking the purpose of this bundle.

      So we should
      a) drop exporting that service and avoid leaking internal implementation details
      b) create our own version of the registry service

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cziegeler Carsten Ziegeler
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: