Hystrix - Servo publishing

390 views
Skip to first unread message

Chris Marks

unread,
Sep 17, 2013, 7:24:39 PM9/17/13
to hystr...@googlegroups.com
Hi all,
In my project, I've implemented a "canary" HystrixCommand for a network call.  I'm trying to expose the command metrics via JMX, but am having trouble getting it to show.  I've added hystrix-metrics-servo-publisher to the application and called HystrixPlugins.getInstance().registerMetricsPublisher(HystrixServoMetricsPublisher.getInstance()) in a "global" area.

When I connect with JConsole, there are no JMX beans exposed for Hystrix.  I've checked that I can publish standard Servo metrics by creating a metric and adding the object to the "Monitors" Servo object and this shows in JConsole.  I'm sure I'm missing something simple, but I can't figure it out and the documentation is a bit light on configuration.

The command itself is working like a charm.  I can't use Hystrix Dashboard yet because our application is "unique" (read non-standard and painful).  

Thanks,
topher

Chris Marks

unread,
Sep 20, 2013, 12:18:04 AM9/20/13
to hystr...@googlegroups.com
Hi there,
I tried to configure and run it once again, and it is working now.  Not sure what I missed the first time around and why I wasn't seeing information.  Sorry to disturb.

topher
Reply all
Reply to author
Forward
0 new messages