You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chukwa.apache.org by "Eric Yang (JIRA)" <ji...@apache.org> on 2010/09/12 01:27:32 UTC

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

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


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.


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

Posted by "Ari Rabkin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CHUKWA-520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12908423#action_12908423 ] 

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

This sounds useful.  Can you also add some user documentation for this somewhere?  (Perhaps in the admin guide?)

> 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
>         Attachments: chart_example.png, CHUKWA-520.patch
>
>
> 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.


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

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CHUKWA-520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921609#action_12921609 ] 

Eric Yang commented on CHUKWA-520:
----------------------------------

Jerome, could you be more specific?  I don't understand the question.

> 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.


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

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CHUKWA-520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Yang updated CHUKWA-520:
-----------------------------

      Resolution: Fixed
    Hadoop Flags: [Incompatible change, Reviewed]
          Status: Resolved  (was: Patch Available)

I just committed this, thanks Ari.

> 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.


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

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CHUKWA-520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Yang reassigned CHUKWA-520:
--------------------------------

    Assignee: Eric Yang

> 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
>
>
> 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.


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

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CHUKWA-520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12911119#action_12911119 ] 

Eric Yang commented on CHUKWA-520:
----------------------------------

The finalized design:

1. Get series data by row key.
{noformat}
/hicc/v1/metrics/series/[table]/[column]/rowkey/[rkey]?start=[yyyyMMddHHmmss]&end=[yyyyMMddHHmmss]
{noformat}

2. Get series data by HICC session macro.
{noformat}
/hicc/v1/metrics/series/[table]/[column]/session/[sessionKey]?start=[yyyyMMddHHmmss]&end=[yyyyMMddHHmmss]
{noformat}

3. Get list of HBase tables
{noformat}
/hicc/v1/metrics/schema
{noformat}

4. Get list of column family
{noformat}
/hicc/v1/metrics/schema/[table]
{noformat}

5. Get list of columns in a column family
{noformat}
/hicc/v1/metrics/schema/[table]/[family]?start=[yyyyMMddHHmmss]&end=[yyyyMMddHHmmss]
{noformat}

6. Get list of row key associated with a column
{noformat}
/hicc/v1/metrics/schema/[table]/[column]?start=[yyyyMMddHHmmss]&end=[yyyyMMddHHmmss]
{noformat}

> 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
>         Attachments: chart_example.png, CHUKWA-520.patch
>
>
> 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.


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

Posted by "Ari Rabkin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CHUKWA-520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12908549#action_12908549 ] 

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

Hm.  Javadoc doesn't really strike me as a good way to provide documentation for users.   Do we need a separate HICC user guide?

> 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
>         Attachments: chart_example.png, CHUKWA-520.patch
>
>
> 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.


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

Posted by "Ari Rabkin (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CHUKWA-520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12908532#action_12908532 ] 

Eric Yang commented on CHUKWA-520:
----------------------------------

Sure,  most of the document will go into javadoc, but I also would like to start developer document for hicc.  I think I will start HICC document in wiki then move to xml document when API is ready for public.

> 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
>         Attachments: chart_example.png, CHUKWA-520.patch
>
>
> 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.


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

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CHUKWA-520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Yang updated CHUKWA-520:
-----------------------------

    Attachment: CHUKWA-520-1.patch

- Refined data schema discovery tool.
- Include graph explorer for exploring data in HBase.

> 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
>         Attachments: chart_example.png, CHUKWA-520-1.patch, CHUKWA-520.patch
>
>
> 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.


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

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CHUKWA-520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12908552#action_12908552 ] 

Eric Yang commented on CHUKWA-520:
----------------------------------

Yes, we need a separate HICC user guide CHUKWA-520 to address this issue.

> 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
>         Attachments: chart_example.png, CHUKWA-520.patch
>
>
> 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.


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

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CHUKWA-520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Yang updated CHUKWA-520:
-----------------------------

    Attachment: CHUKWA-520.patch

Proposed REST API for metrics.

> 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
>         Attachments: CHUKWA-520.patch
>
>
> 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.


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

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CHUKWA-520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Yang updated CHUKWA-520:
-----------------------------

    Fix Version/s: 0.5.0

> 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
>             Fix For: 0.5.0
>
>         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.


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

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CHUKWA-520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Yang updated CHUKWA-520:
-----------------------------

    Attachment: chart_example.png

Screenshot of the rest api in action.

> 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
>         Attachments: chart_example.png, CHUKWA-520.patch
>
>
> 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.


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

Posted by "Jerome Boulon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CHUKWA-520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921597#action_12921597 ] 

Jerome Boulon commented on CHUKWA-520:
--------------------------------------

Nice!
Do you have some number at scale?

> 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.


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

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CHUKWA-520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Yang updated CHUKWA-520:
-----------------------------

    Status: Patch Available  (was: Open)

> 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.


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

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CHUKWA-520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Yang updated CHUKWA-520:
-----------------------------

    Attachment: chukwa_hello_world.png

graph_explorer in action.

> 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.