You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chukwa.apache.org by "Ari Rabkin (JIRA)" <ji...@apache.org> on 2010/10/15 19:56:54 UTC

[jira] Commented: (CHUKWA-520) Metrics graphing REST api for HBase

    [ https://issues.apache.org/jira/browse/CHUKWA-520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921469#action_12921469 ] 

Ari Rabkin commented on CHUKWA-520:
-----------------------------------

Neat. Let's commit it. +1

> Metrics graphing REST api for HBase
> -----------------------------------
>
>                 Key: CHUKWA-520
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-520
>             Project: Chukwa
>          Issue Type: New Feature
>          Components: User Interface
>         Environment: Java 6, Mac OS X 10.6
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>         Attachments: chart_example.png, CHUKWA-520-1.patch, CHUKWA-520.patch, chukwa_hello_world.png
>
>
> HICC chart.jsp has the ability to graph metrics from web service API.  The usage pattern looks like this:
> {noformat}
> /hicc/jsp/chart.jsp?data=[url to json data]
> {noformat}
> The expected data format for the data url looks like this:
> {noformat}
> { "name": "series name", "data": [[x,y],[x2,y2],...[x1000,y1000]]}
> {noformat}
> 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:
> {noformat}
> /hicc/v1/metrics/[table_name]/[column_family]:[column]/[row_key]?start=[yyyyMMddHHmmss]&end=[yyyyMMddHHmmss]
> {noformat}
> row_key can be supplied like a macro, i.e. [host].  This will pick up selected host from HICC session variable.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.