Netflix / Hystrix

Hystrix is a latency and fault tolerance library designed to isolate points of access to remote systems, services and 3rd party libraries, stop cascading failure and enable resilience in complex distributed systems where failure is inevitable.
24.15k stars 4.71k forks source link

Increase the time of the moving window #284

Closed prasann closed 10 years ago

prasann commented 10 years ago

I could able to set up hystrix for monitoring my application. However in the dashboard, the data that's been shown is for the last 2-3 mins. Is there way to configure this time limit. I need to see atleast 24hrs of data on the dashboard. Or is the way i configured is wrong.

benjchristensen commented 10 years ago

Configuration is documented here: https://github.com/Netflix/Hystrix/wiki/Configuration#CommandMetrics

However, the internal metrics data structures and dashboard are meant for realtime (seconds or minutes at most) data. If you want 24 hours or days of data, there are other solutions for that including Servo and Yammer Metrics that persist the metrics, and then you can display it with whatever charting framework you prefer, such as Graphite.

prasann commented 10 years ago

Thanks Ben. Let me increase this config to 2-5 minutes (may be?) . As my application is not so very traffic intensive and will also be looking at Yammer integration may be.