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

New metric framework based on dropwizard

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • v2.0.0
    • v2.3.0
    • None
    • 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. KYLIN-2776.patch
          81 kB
          yiming.xu
        2. report.json
          4 kB
          yiming.xu
        3. active_calls.png
          47 kB
          yiming.xu
        4. calls.png
          76 kB
          yiming.xu
        5. query_result_rowcount.png
          79 kB
          yiming.xu
        6. query_duration.png
          95 kB
          yiming.xu
        7. query_count.png
          68 kB
          yiming.xu
        8. metric_structure.png
          204 kB
          yiming.xu

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment