Chukwa
  1. Chukwa
  2. CHUKWA-520

Metrics graphing REST api for HBase

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.5.0
    • Component/s: User Interface
    • Labels:
      None
    • Environment:

      Java 6, Mac OS X 10.6

    • Hadoop Flags:
      Incompatible change, Reviewed

      Description

      HICC chart.jsp has the ability to graph metrics from web service API. The usage pattern looks like this:

      /hicc/jsp/chart.jsp?data=[url to json data]
      

      The expected data format for the data url looks like this:

      { "name": "series name", "data": [[x,y],[x2,y2],...[x1000,y1000]]}
      

      Metrics graphing REST api should load data from HBase and convert to the above JSON output format for graphing.
      The suggested REST API looks like this:

      /hicc/v1/metrics/[table_name]/[column_family]:[column]/[row_key]?start=[yyyyMMddHHmmss]&end=[yyyyMMddHHmmss]
      

      row_key can be supplied like a macro, i.e. [host]. This will pick up selected host from HICC session variable.

      1. CHUKWA-520-1.patch
        33 kB
        Eric Yang
      2. CHUKWA-520.patch
        8 kB
        Eric Yang
      3. chukwa_hello_world.png
        217 kB
        Eric Yang
      4. chart_example.png
        127 kB
        Eric Yang

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Eric Yang
            Reporter:
            Eric Yang
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development