Hystrix Dashboard Not Showing Metrics

1,886 views
Skip to first unread message

Stephen B.

unread,
Dec 17, 2014, 11:07:19 AM12/17/14
to hystr...@googlegroups.com
Hi,

  I installed the Hystrix dashboard (v1.3.9 and 1.4.0RC5) and neither is showing metrics.  When I point to the URL of the hystrix stream, I see metrics data; however, when I point the dashboard to that same stream it only shows "Loading...".  I am running both the dashboard and the app in Cloud Foundry, but I do not think that should make a difference because I can view the metrics stream when I point my browser at it.

Any suggestions?

Thank you,
Stephen

Stephen B.

unread,
Dec 17, 2014, 11:47:51 AM12/17/14
to hystr...@googlegroups.com
One other note... when I run this all locally within the same tomcat server (the dashboard and the app deployed together) it works fine.  I can see the continuous flow of data from the metrics stream just as I can see when they are running separately except the dashboard displays the graphs in this case.  I am not using turbine... yet.

Stephen B.

unread,
Dec 18, 2014, 2:38:57 PM12/18/14
to hystr...@googlegroups.com
For anyone else having this problem on Cloud Foundry, I got the dashboard to work by pointing the dashboard to the DEA IP address and the port of the container.  For some reason it does not work going through the Cloud Foundry router but since the dashboard is deployed alongside the app containers it can access the DEA IP directly (assuming security groups are properly configured to allow the access).

Thanks

Jubin Jacob

unread,
Oct 17, 2016, 10:57:46 AM10/17/16
to HystrixOSS
Hi stephen, i am also facing the same problem when running on cloud foundry. Can you explain how you pointed the dashboard to DEA IP address and port of container. Did you took the ip address and port of the application and gave that in the url of stream ?

Stephen Byers

unread,
Oct 17, 2016, 2:08:13 PM10/17/16
to Jubin Jacob, HystrixOSS
If I remember correctly, I queried the CF API to retrieve a list of current IP addresses and ports for the DEAs where the containers were running.  It was more of a hack at the time to get the full list of hystrix streams to turbine.  A better approach would probably be to use Spring Cloud Netflix which will likely take care of this for you so you do not have to interrogate the PaaS to determine the proper endpoints.

--
You received this message because you are subscribed to a topic in the Google Groups "HystrixOSS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/hystrixoss/zWqbUk7DopI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to hystrixoss+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jubin Jacob

unread,
Oct 18, 2016, 6:26:59 AM10/18/16
to HystrixOSS, jubinv...@gmail.com
Unfortunately this problem still exists even with the spring cloud netflix. Everything works fine locally but once you push to cloudfoundry (i am using bluemix) not able to see any metrics. But if i hit the stream url from browser i am able to see the data. Dont know how to proceed.

Mark Bordelon

unread,
Jan 19, 2017, 12:02:49 PM1/19/17
to HystrixOSS, jubinv...@gmail.com
Hi. I am new to metrics, and checking it out. Was curious why when i run the examples, I need a while loop to keep hitting my web app in order for the metrics to be sent to the dashboard. If I examine the stream of the webapp, it continues to grow with more stats.
Please advise
Mark

Matt Jacobs

unread,
Jan 19, 2017, 12:28:31 PM1/19/17
to HystrixOSS, jubinv...@gmail.com
Reply all
Reply to author
Forward
0 new messages