flipkart-incubator / phantom

Phantom is a high performance proxy for accessing distributed services. It is an RPC system with support for different transports and protocols. Phantom is inspired by Twitter Finagle clients and builds on the capabilities of technologies like Netty, Unix Domain Sockets, Netflix Hystrix and Spring. Phantom proxies have been used to serve several hundred million API calls in production deployments at Flipkart.
50 stars 27 forks source link

Adding changes for reporting hystrix snapshot metrics based on configured time. #38

Closed ishwar-kumar closed 9 years ago

ishwar-kumar commented 9 years ago

if configured frequency is 1 or no configuration (=10 seconds window) then :{port}/admin/hystrix.snapshot.global provides default 10 seconds metrics in snapshot form. if configured frequency is N (>1) (=N10 seconds window) then :{port}/admin/hystrix.snapshot.global provides last N10 seconds metrics in snapshot form - a background thread keeps running aggregating the metrics provided by hystrix.