Uploaded image for project: 'Polygene'
  1. Polygene
  2. POLYGENE-190

Refine Metrics API/SPI

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Labels:
      None

      Description

      The current metrics API mixes in pure metrics aspects with reporting ones. The factories should not require the reporting duration unit nor the rate unit nor display names. These should be chosen when using reporters, whatever the metrics collection backend.

      Let's use Stream<Metric> instead of Iterable in MetricsFactory::registered().

      @TimingCapture concern should name timers with some "Structure path" by default, like we do in jmx support, and allow to name the underlying timer with an annotation parameter.

        Attachments

          Activity

            People

            • Assignee:
              eskatos Paul Merlin
              Reporter:
              eskatos Paul Merlin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: