Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can you determine how much disk space a particular KairosDB/OpenTSDB metric is taking up?

Is there a quick way to determine how much disk space a particular metric is taking up?

like image 253
Bharthan Avatar asked Dec 09 '25 07:12

Bharthan


1 Answers

Yes and no...

You can count the number of samples for the metric (using count aggregator), then multiply by ~8-9 bytes for long and ~12-14 bytes for doubles (this is what I measured with test data). For strings, it depends more on your data.

like image 183
Loic Avatar answered Dec 11 '25 22:12

Loic



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!