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

530 Views Asked by At

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

1

There are 1 best solutions below

3
On

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.