kennedyoliveira / hystrix-vertx-metrics-stream

Vert.x implementation of a Hystrix Events Metrics Stream
15 stars 1 forks source link

how does hystrix show the metrics #1

Open lijingcsu opened 7 years ago

lijingcsu commented 7 years ago

I use hystrix to request sina.com, and use metrics stream get the data, I recieve like this qq 20170901205340 why the request count is not add u?

lijingcsu commented 7 years ago

is not add up?

kennedyoliveira commented 7 years ago

Hello @lijingcsu, i didn't quite understand the problem, could you elaborate a little more? This lib if basically for fetching the metrics from hystrix and providing a SSE for being consumed by other softwares like hsytrix-dasboard, or maybe your own.

lijingcsu commented 7 years ago

@kennedyoliveira sorry for my poor english! I want to create a dashbord with metrics and my own data, so I want to get data by this hystrix-vertx-metrics-stream, but i found that "requestCount": 0, is not adding up from 0,1,2 to n. is that mean this data return only the realtime data? not from the begging to the end?

lijingcsu commented 7 years ago

@kennedyoliveira I also want to know how to collect the hystrix command data to do report all service info.

kennedyoliveira commented 7 years ago

@lijingcsu your english is fine! Answering your questions, yes, it doesn't return data from the beginning, you can configure a window for that data, like 10 secs, 15 secs, 5 sec etc, and the purpose of this library is to make easy to publish data from Netflix Hystrix, and any data, to understand better you can check their documentation on metrics here => Hystrix-Metrics-Documentation