Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-2776

New metric framework based on dropwizard

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: v2.0.0
    • Fix Version/s: v2.3.0
    • Component/s: None
    • Labels:
      None

      Description

      With https://issues.apache.org/jira/browse/KYLIN-2721.We are plan to release a new metric framework.
      New metric is different hadoop metric and based on dropwizard . which has the following advantage:

      • Well-defined metric model for frequently-needed metrics (ie JVM metrics)
      • Well-defined measurements for all metrics (ie max, mean, stddev, mean_rate, etc),
      • Built-in pluggable reporting frameworks like JMX, Console, Log, JSON

      We refactored QueryMetric with new metrics, notice the exposed JMX MBeans have changed a little bit.

      A new tool called perflog is also introduced. Perflog traces call duration time and current active calls by recording them to metric system.

      Some snapshots of the new JMX MBeans can be seen in attachments

        Attachments

        1. active_calls.png
          47 kB
          yiming.xu
        2. calls.png
          76 kB
          yiming.xu
        3. KYLIN-2776.patch
          81 kB
          yiming.xu
        4. metric_structure.png
          204 kB
          yiming.xu
        5. query_count.png
          68 kB
          yiming.xu
        6. query_duration.png
          95 kB
          yiming.xu
        7. query_result_rowcount.png
          79 kB
          yiming.xu
        8. report.json
          4 kB
          yiming.xu

          Activity

            People

            • Assignee:
              hn5092 yiming.xu
              Reporter:
              hn5092 yiming.xu
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: