Turbine Dashboard issue
Hi,
I have a weird problem.
I am trying to view the Turbine Stream for Zuul.
Hystrix stream works: Hystrix Stream: http://localhost:8765/hystrix.stream I can see storesRibbonCommand and customersRibbonCommand statistics.
For Turbine does not work: Hystrix Stream: http://localhost:8989/turbine.stream?cluster=ZUULSERVER I can see cust...StoresByLocationLink statistics.
Information in Eureka is:
I remember this was working yesterday.
A little more information would be useful (error messages, logs, configuration etc...). Turbine can only be used to view one service's instances: https://github.com/spring-cloud/spring-cloud-netflix/blob/master/docs/src/main/asciidoc/spring-cloud-netflix.adoc#turbine
Out of curiosity, are there any thoughts on some sort of interface to read the data from multiple turbine feeds into a single interface? Realizing depending on the deployment size it could become possibly unmanageable.
spring-cloud-netflix-hystrix-amqp and spring-cloud-netflix-turbine-amqp use rabbitmq rather than an http stream and you can see all services circuit breakers in one.
Hi Spencer,
Eureka: Zuul appears like this:
Hystrix stream in dashboard:

Turbine stream in dashboard:

I am pretty sure this was working, meaning seeing the exact info from Zuul single instance (hystrix url) or aggregated (Turbine url)
is it possible that this commit broke it? https://github.com/spring-cloud/spring-cloud-netflix/commit/c31f700bae88b2c41d6b738ade56616cc878ec5b
(related to https://github.com/spring-cloud/spring-cloud-netflix/issues/160)
What is your turbine configuration? ie:
turbine:
aggregator:
clusterConfig: CUSTOMERS
appConfig: customers
I don't think c31f700bae88b2c41d6b738ade56616cc878ec5b broke it, otherwise the reading the hystrix.stream directly wouldn't work.
i have the default application.yml: https://github.com/spring-cloud-samples/turbine/blob/master/src/main/resources/application.yml
let my try configure it
That sample uses:
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-turbine-amqp</artifactId>
</dependency>
Not the http based turbine from spring-cloud-netflix-turbine
Hi Spencer,
I am a bit lost.
I have this config now: turbine: amqp: port: 8989 aggregator: clusterConfig: ZUULSERVER appConfig: zuulserver
But I still get the CUSTOMERS default stream.
That config I showed you was wrong if you are using the spring-cloud-samples/turbine. It pulls from rabbitmq not the http streams. I'm sure you thought this worked yesterday, but it probably didn't.
:) Either I was very tired, either it worked.
Indeed, I checked RabbitMQ queues and the message only come from Customers app.
Is there a way to publish from Zuul also?
yes, see https://github.com/spring-cloud-samples/customers-stores for an example. You add this starter:
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-netflix-hystrix-amqp</artifactId>
</dependency>
had to add 2:
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-netflix-hystrix-amqp</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-bus-amqp</artifactId>
</dependency>
Update for SpringTurbineStream with springboot 1.3.1 and spring cloud brixton add following depedency.
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-netflix-hystrix-stream</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-bus-amqp</artifactId>
</dependency>