Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-2125

Emit multiple metrics in MetricValue

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: Metrics
    • Labels:
      None
    • Sprint:
      Metrics Week of 04/13
    • Rank:
      1|hzykkv:

      Description

      often we emit multiple metrics from same context, but in MetricValue we only support single metric-name and a value for a context, this is inefficient as we create a lot of MetricValue entries for metrics emitted from the same context.

      we can improve this by changing MetricValue to have a collection of measurements under a context.

      this will involve changes in MetricValue, MetricsEmitter logic and tests.
      we already have support in cube for adding facts with multiple measures in a context.
      https://github.com/caskdata/cdap/pull/2039

        Attachments

          Activity

            People

            • Assignee:
              shankar Shankar Selvam
              Reporter:
              shankar Shankar Selvam
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: