monkey-codes / spring-boot-restful

25 stars 11 forks source link

How to get tps ??? no grafana json #2

Closed krast closed 7 years ago

monkey-codes commented 7 years ago

I believe you can use the rate provided by prometheus in grafana to calculate TPS. In this example, the avg TPS is calculated in buckets of 1 min.

rate(counter_status_201_repository[1m])

sample

krast commented 7 years ago

@monkey-codes Thanks for replying to the issues. I am trying to add some monitor for zuul. I can't find a springcloud official examples. I find your blog, it's a great example for me. Now, I know how to do it.