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

Improve charting service metadata management

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: User Interface
    • Labels:
      None

      Description

      Chukwa charting widget uses query parameters to supply chart widgets parameters and data source to render a chart. However, this approach is limited by 2083 characters for the length of HTTP GET request. When drawing multiple series on the same chart, it may run over URL length limit. In this redesign, we can pass a unique identifier and store chart meta data in HBase.

        Activity

        Hide
        eyang Eric Yang added a comment -

        Implemented new way to manage Chart meta data.
        Customization chart parameters are stored in Chukwa_meta table. Each published chart can be view in html using:

        GET /hicc/v1/chart/

        {id}

        Preview html chart customization without saving to HBase:

        PUT /hicc/v1/chart/preview

        Query chart JSON structure and series data:

        PUT /hicc/v1/chart/preview/series

        Save newly created chart:

        POST /hicc/v1/chart/save

        Update existing chart:

        PUT /hicc/v1/chart/save/{id}
        Show
        eyang Eric Yang added a comment - Implemented new way to manage Chart meta data. Customization chart parameters are stored in Chukwa_meta table. Each published chart can be view in html using: GET /hicc/v1/chart/ {id} Preview html chart customization without saving to HBase: PUT /hicc/v1/chart/preview Query chart JSON structure and series data: PUT /hicc/v1/chart/preview/series Save newly created chart: POST /hicc/v1/chart/save Update existing chart: PUT /hicc/v1/chart/save/{id}
        Hide
        eyang Eric Yang added a comment -

        I committed this.

        Show
        eyang Eric Yang added a comment - I committed this.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development