简体   繁体   中英

KairosDB: is it a good idea to create many metrics?

I plan to use KairosDB to store monitoring data for my VMs' disk IO. Now I am thinking that I should create a metric for every VM, which will lead to many metrics in the DB, or just create a metric for all VMs and use tags to identify data for each VM.

I am not sure if a large number of metrics will kill the performance or hurt query.

Any suggestions?

Same comment as Sergei. To answer your other question having many metrics will not impact the performances.

But having metrics with very high tag cardinality must be avoided, but in your case you should not have to (by high cardinality I mean non discrete values, or thousands of values).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM