suhailpatel / seastat

A standalone Cassandra Prometheus Exporter with speed 🏎️
MIT License
18 stars 2 forks source link

Use Bulk Request API for Storage Stats #4

Closed suhailpatel closed 4 years ago

suhailpatel commented 4 years ago

https://github.com/suhailpatel/seastat/pull/3 introduced loading of Storage Metrics. Unfortunately this API is quite slow if you have a lot of tables/keyspaces. This change uses the Bulk Request API to only grab the values we want