Return-Path: Delivered-To: apmail-incubator-chukwa-dev-archive@www.apache.org Received: (qmail 8292 invoked from network); 26 Aug 2010 17:40:33 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 Aug 2010 17:40:33 -0000 Received: (qmail 41028 invoked by uid 500); 26 Aug 2010 17:40:33 -0000 Delivered-To: apmail-incubator-chukwa-dev-archive@incubator.apache.org Received: (qmail 40944 invoked by uid 500); 26 Aug 2010 17:40:33 -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 40911 invoked by uid 99); 26 Aug 2010 17:40:32 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Aug 2010 17:40:32 +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; Thu, 26 Aug 2010 17:40:15 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7QHdsSa010843 for ; Thu, 26 Aug 2010 17:39:54 GMT Message-ID: <18750880.9121282844394058.JavaMail.jira@thor> Date: Thu, 26 Aug 2010 13:39:54 -0400 (EDT) From: "Bill Graham (JIRA)" To: chukwa-dev@incubator.apache.org Subject: [jira] Assigned: (CHUKWA-515) Statistics REST API for Agent In-Reply-To: <13775783.9101282844393269.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CHUKWA-515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bill Graham reassigned CHUKWA-515: ---------------------------------- Assignee: Bill Graham > Statistics REST API for Agent > ----------------------------- > > Key: CHUKWA-515 > URL: https://issues.apache.org/jira/browse/CHUKWA-515 > Project: Chukwa > Issue Type: Sub-task > Reporter: Bill Graham > Assignee: Bill Graham > > Develop a REST interface to expose Agent statistics. > * Request URI: > {noformat} > GET /rest/v1/adaptorStats HTTP/1.0 > {noformat} > * For now I'm shooting for the XML response, but ultimately we can support optional params: > {noformat} > viewType=[json|xml|text] (default is XML?) > {noformat} > * Response XML > TBD. My thought is to integrate with the {{AgentMetrics}} and {{ChunkQueueMetrics}} and show their information, along with a list of adaptors. It appears that the same {{MemQueue}} is shared amongst all adaptors, so we won't be able to expose per-adaptor stats as is. Let me know if I'm missing something there, or if you have comments in general about the approach. > I was planning on using Jetty similar to how the collector does. We could have some common code that delegates requests to different handlers based on the URI. The current telnet interface will remain as-is. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.