Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-12455

Add 'description' to bean and attribute output when you do /jmx?description=true

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.99.2
    • metrics
    • None
    • Reviewed
    • Hide
      When you click on 'Metrics Dump', it takes you to the servlet at /jmx. This servlet dumps all metrics by name and their value. If you add a query string of '?description=true', the dump will include descriptions on all metric mbeans and attributes that are non-null and that do not have a description that matches the attribute name exactly.
      Show
      When you click on 'Metrics Dump', it takes you to the servlet at /jmx. This servlet dumps all metrics by name and their value. If you add a query string of '?description=true', the dump will include descriptions on all metric mbeans and attributes that are non-null and that do not have a description that matches the attribute name exactly.

    Description

      Its hard figuring what our metrics mean. Each attribute and bean actually has a description but its hard to get at. In mission control, etc., you have to click on each attribute to see the description. Its painful. Because the description is rarely read, they are not as info-full as they could be.

      If you do /jmx in the UI, you get a dump of all beans associated with the server but its just the attribute/bean name + value. The description is there but its not displayed. We should give option to display descriptions. It would be good for those exploring what metrics are available. We actually point folks at jvisualvm in the refguide to figure what metrics are available. Would be useful if we could point them at something that was easier to navigate.

      Attachments

        1. with_descriptions.json
          104 kB
          Michael Stack
        2. raw.json
          76 kB
          Michael Stack
        3. 12455.v3.txt
          10 kB
          Michael Stack
        4. 12455.v2.txt
          10 kB
          Michael Stack
        5. 12455.v2.txt
          10 kB
          Michael Stack
        6. 12455.txt
          10 kB
          Michael Stack

        Issue Links

          Activity

            People

              stack Michael Stack
              stack Michael Stack
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: