Kafka
  1. Kafka
  2. KAFKA-541

Use metrics CSV reporter instead of jmx tool for system tests

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      The existing system test framework spawns off a bunch of jmxtool processes to collect metrics. This is rather heavy-weight and also, requires advance knowledge of all the beans (many of which are dynamically registered). E.g., per-topic stats pop-up only after the topics are produced to.

      Since we are using metrics-core, we can just turn on the CSV reporter to collect these stats. I had originally thought version 2.1.3 had various bugs that rendered it unusable for CSV reporter, but I gave it another try and it seems to be fine. Will post some output.

      1. metrics-core-3.0.1.jar
        80 kB
        Yang Ye
      2. metrics-annotation-3.0.1.jar
        5 kB
        Yang Ye
      3. kafka_541_v3.diff
        36 kB
        Yang Ye
      4. kafka_541_v2.diff
        23 kB
        Yang Ye
      5. kafka_541_v1.diff
        13 kB
        Yang Ye

        Issue Links

          Activity

            People

            • Assignee:
              Yang Ye
              Reporter:
              Joel Koshy
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development