Uploaded image for project: 'Chukwa'
  1. Chukwa
  2. CHUKWA-92

AbstractMetricsContext is using the wrong value

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      When I put CHUKWA-12, I have used the wrong version of AbstractMetricsContext.

      The metrics file will contain, the accumulated value, the current value for the period (raw) and the rate value
      The raw value and period could be removed if we're outputting the rate information, however people may found both of them useful.

      ex:
      "addedChunk_raw":3
      "addedChunk":88
      "period":6

      "addedChunk_rate":30 ==> 3*60/6 = 30

      1. CHUKWA-92.patch
        1 kB
        Jerome Boulon

        Activity

        Hide
        jboulon Jerome Boulon added a comment -

        Here the correct version.

        Show
        jboulon Jerome Boulon added a comment - Here the correct version.
        Hide
        jboulon Jerome Boulon added a comment -

        correct rate computation

        Show
        jboulon Jerome Boulon added a comment - correct rate computation
        Hide
        asrabkin Ari Rabkin added a comment -

        I just committed this. Thanks, Jerome!

        Show
        asrabkin Ari Rabkin added a comment - I just committed this. Thanks, Jerome!

          People

          • Assignee:
            jboulon Jerome Boulon
            Reporter:
            jboulon Jerome Boulon
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development