apache/incubator-storm — pull request #38 by dashengju (2014-02-21 06:16:24+00:00)
Title: STORM-200 Proposal for Multilang's Metrics feature

for https://issues.apache.org/jira/browse/STORM-200

Storm 0.9.0.1 exposes a metrics interface to report summary statistics across the full topology. We can build our own metric, and build metrics consumer to use those statistics.

But when we use Multilang(ie. Python), we can not use this feature. So we want to summit a proposal for multilang's metrics.

The specifics of the proposal:
1. The main idea is: when user want to add a metric statistics in multilang(python) bolt，
a) he need first create a metric object and register in ShellBolt's sub-class,
b) then update the metric in Python bolt process through RPC call.

2. In Metrics API:
a) extend IMetric interface add a method for RPC call：
public void updateMetricFromRPC(List