Netflix / Turbine

SSE Stream Aggregator
Apache License 2.0
835 stars 255 forks source link

Adding support for pushing metrics into Turbine #50

Open carlanton opened 9 years ago

carlanton commented 9 years ago

Use-case: We are running services with Hystrix on Heroku and want to aggregate the metrics using Turbine. When you scale an application on Heroku, you run it on multiple dynos (~VMs). Unfortunately, you can not access a specific dyno and therefore it gets tricky when you want to pull metrics from all instances.

This problem could be solved by adding support for pushing metrics into Turbine. Maybe with some simple HTTP POST endpoint, or perhaps websockets?

Hystrix ticket for reference: https://github.com/Netflix/Hystrix/issues/330

benjchristensen commented 9 years ago

I intend on supporting this in Turbine 2. It should be quite simple to add now with the new code.

spencergibb commented 9 years ago

Cool. We had a similar problem in cloud foundry. We pushed the metrics to rabbitmq. We have a turbine implementation that pulls from a queue: https://github.com/spring-cloud/spring-cloud-bus/tree/master/spring-cloud-bus-turbine/src/main/java/org/springframework/cloud/bus/turbine and on the hystrix client side that pushes to the queue: https://github.com/spring-cloud/spring-cloud-bus/tree/master/spring-cloud-bus-hystrix

mnuessler commented 9 years ago

We too would be very interested in support for pushing metrics into Turbine. Glad to hear it is already on the roadmap.

govindps commented 7 years ago

We are also looking for this feature. Is it implemented in Turbine 2?