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

Implement Adjustable Axes on the graph

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.5.0
    • Component/s: User Interface
    • Labels:
      None
    • Release Note:
      Add text fields for configuring Y-Axis Minimum and Maximum Values.

      Description

      Specify a way to adjust the axes of the output in HICC

      1. CHUKWA-547.patch
        2 kB
        Michael Chang
      2. system_metrics.descriptor
        5 kB
        Eric Yang

        Activity

        Hide
        asrabkin Ari Rabkin added a comment -

        This is in reference to the graphs from HBase. Should be possible to reuse code from other parts of HICC?

        Show
        asrabkin Ari Rabkin added a comment - This is in reference to the graphs from HBase. Should be possible to reuse code from other parts of HICC?
        Hide
        mcchang Michael Chang added a comment -

        Eric, do you think you could tell me where in the HICC code I might find widgets to use for configuration? Namely, a time selection widget for the x-axis and a more generic change-axes widget for the y-axis?

        Show
        mcchang Michael Chang added a comment - Eric, do you think you could tell me where in the HICC code I might find widgets to use for configuration? Namely, a time selection widget for the x-axis and a more generic change-axes widget for the y-axis?
        Hide
        eyang Eric Yang added a comment -

        We have 3 type of time selection widgets. One is base on slider bar, second one is select last x time interval, and third one is base on selection by date. The code are located in src/web/hicc/jsp, time_slider.jsp, time_range.jsp and time_frame.jsp respectively. I currently don't have a widget for changing y-axis, but I think it's better to build inside the widget properties. You might want to look at src/hicc/descriptors/system_metrics.descriptor on how to add extra y-axis parameter to the chart.jsp. I have a system_metrics.descriptor file which works with HBase data source, if you are interested, I can upload it here.

        Show
        eyang Eric Yang added a comment - We have 3 type of time selection widgets. One is base on slider bar, second one is select last x time interval, and third one is base on selection by date. The code are located in src/web/hicc/jsp, time_slider.jsp, time_range.jsp and time_frame.jsp respectively. I currently don't have a widget for changing y-axis, but I think it's better to build inside the widget properties. You might want to look at src/hicc/descriptors/system_metrics.descriptor on how to add extra y-axis parameter to the chart.jsp. I have a system_metrics.descriptor file which works with HBase data source, if you are interested, I can upload it here.
        Hide
        eyang Eric Yang added a comment -

        +1 for patching graph_explorer.jsp.

        Show
        eyang Eric Yang added a comment - +1 for patching graph_explorer.jsp.
        Hide
        asrabkin Ari Rabkin added a comment -

        Committed this one too.

        Show
        asrabkin Ari Rabkin added a comment - Committed this one too.
        Hide
        mcchang Michael Chang added a comment -

        Hey Eric,

        I definitely would not mind it if you attached the system_metrics.descriptor file. Thanks!

        Show
        mcchang Michael Chang added a comment - Hey Eric, I definitely would not mind it if you attached the system_metrics.descriptor file. Thanks!
        Hide
        eyang Eric Yang added a comment -

        System Metrics descriptor file for REST API metrics.

        Show
        eyang Eric Yang added a comment - System Metrics descriptor file for REST API metrics.

          People

          • Assignee:
            mcchang Michael Chang
            Reporter:
            mcchang Michael Chang
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development