Re: registerMetrics on TopologyContext

2019-11-10 Thread Stig Rohde Døssing
Hi Satheesh,

I think you're looking for the new metrics API, described here
https://storm.apache.org/releases/2.0.0/metrics_v2.html, which is based on
Dropwizard Metrics. As you note, the old API is deprecated. It will still
work, so feel free to upgrade to 2.x first, and then switching to the new
metrics API later.

Den fre. 8. nov. 2019 kl. 20.39 skrev Satheesh Akkinepally
:

> Hi storm devs, we have code that registers metrics using
> TopologyContext.registerMetrics. This was deprecated in 1.x versions of
> storm. It still seems to be available in Storm 2.x though its deprecated. I
> was looking at the documentation to fix this while we are trying to upgrade
> to 2.x.  What would be the preferred and recommended way to do this? I
> searched in the docs but could not find anything related to it. Could any
> of you point me to the right direction?
>
> Thank You!
>


registerMetrics on TopologyContext

2019-11-08 Thread Satheesh Akkinepally
Hi storm devs, we have code that registers metrics using 
TopologyContext.registerMetrics. This was deprecated in 1.x versions of storm. 
It still seems to be available in Storm 2.x though its deprecated. I was 
looking at the documentation to fix this while we are trying to upgrade to 2.x. 
 What would be the preferred and recommended way to do this? I searched in the 
docs but could not find anything related to it. Could any of you point me to 
the right direction?

Thank You!