How to disable the metrics registry?

678 views
Skip to first unread message

Vijay Kumar

unread,
Nov 23, 2012, 3:25:29 AM11/23/12
to metric...@googlegroups.com
I need to turn off the metrics registry, while running performances tests.
I don't see any method to disable it in 'com.yammer.metrics.core.MetricsRegistry' other than shutdown?

Derek Stainer

unread,
Nov 23, 2012, 12:48:00 PM11/23/12
to metric...@googlegroups.com
Hi Vijay

I don't believe you can disable the registry. That being said, if you are planning on using metrics when you are in production than you should leave them on for a more realistic performance test anyway. There is another post that discusses this same topic I'll try and find it and post a link

Derek

Vijay Kumar

unread,
Nov 26, 2012, 1:10:26 AM11/26/12
to metric...@googlegroups.com
Thanks Derek.
I am looking at the following link: https://groups.google.com/forum/#!searchin/metrics-user/performance/metrics-user/CHk14cMmLsM/Gkk-XxhNOSgJ, I believe you meant the same.

Vijay.
Reply all
Reply to author
Forward
0 new messages