Return-Path: Delivered-To: apmail-incubator-chukwa-dev-archive@www.apache.org Received: (qmail 40597 invoked from network); 12 Sep 2010 01:14:54 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Sep 2010 01:14:54 -0000 Received: (qmail 56040 invoked by uid 500); 12 Sep 2010 01:14:54 -0000 Delivered-To: apmail-incubator-chukwa-dev-archive@incubator.apache.org Received: (qmail 55985 invoked by uid 500); 12 Sep 2010 01:14:54 -0000 Mailing-List: contact chukwa-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: chukwa-dev@incubator.apache.org Delivered-To: mailing list chukwa-dev@incubator.apache.org Received: (qmail 55976 invoked by uid 99); 12 Sep 2010 01:14:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Sep 2010 01:14:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Sep 2010 01:14:53 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8C1EWkR001987 for ; Sun, 12 Sep 2010 01:14:33 GMT Message-ID: <22921554.136821284254072450.JavaMail.jira@thor> Date: Sat, 11 Sep 2010 21:14:32 -0400 (EDT) From: "Eric Yang (JIRA)" To: chukwa-dev@incubator.apache.org Subject: [jira] Updated: (CHUKWA-520) Metrics graphing REST api for HBase In-Reply-To: <32105696.136561284247652427.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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.