简体   繁体   中英

Using Stagemonitor/Hyperic HQ to monitor client specific performance stats in a multi tenancy environment

Using a multi-tenant server is it possible to use these tools to get stats regarding specific clients performance usage. The setup would be a MySQL DB which holds users belonging to organisations. When the Java application is running all actions will be carried out by a User collection which has the Organisation ID variable.

Could this data then be used to work out how much CPU, memory, heap, processes etc are being used per Organisation?

Thanks

MySQL does not provide anything more than how much data each tenant has. That can be found in information_schema .

If you need CPU/IO/etc., you need to set up multiple instances of MySQL in VMs or cgroups and have the OS / VM-manager provide the data. This will cost extra RAM, so it may not be worth it.

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