You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by "j3cky (via GitHub)" <gi...@apache.org> on 2025/11/13 11:12:59 UTC

[D] vm stat and host stat [cloudstack]

GitHub user j3cky created a discussion: vm stat and host stat

Hi ,
i have configure stats.output.uri to use influxdb as stat database, but the cloudstack keep add new stat to management database in  vm_stat table. how can i disable and only use influxdb as stat database?
 i have try to update value database.server.stats.interval to 0 but it keep insert data to management database and also influxdb

GitHub link: https://github.com/apache/cloudstack/discussions/12065

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] vm stat and host stat [cloudstack]

Posted by "j3cky (via GitHub)" <gi...@apache.org>.
GitHub user j3cky closed a discussion: vm stat and host stat

Hi ,
i have configure stats.output.uri to use influxdb as stat database, but the cloudstack keep add new stat to management database in  vm_stat table. how can i disable and only use influxdb as stat database?
 i have try to update value database.server.stats.interval to 0 but it keep insert data to management database and also influxdb

GitHub link: https://github.com/apache/cloudstack/discussions/12065

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] vm stat and host stat [cloudstack]

Posted by "j3cky (via GitHub)" <gi...@apache.org>.
GitHub user j3cky reopened a discussion: vm stat and host stat

Hi ,
i have configure stats.output.uri to use influxdb as stat database, but the cloudstack keep add new stat to management database in  vm_stat table. how can i disable and only use influxdb as stat database?
 i have try to update value database.server.stats.interval to 0 but it keep insert data to management database and also influxdb

GitHub link: https://github.com/apache/cloudstack/discussions/12065

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] vm stat and host stat [cloudstack]

Posted by "j3cky (via GitHub)" <gi...@apache.org>.
GitHub user j3cky closed a discussion: vm stat and host stat

Hi ,
i have configure stats.output.uri to use influxdb as stat database, but the cloudstack keep add new stat to management database in  vm_stat table. how can i disable and only use influxdb as stat database?
 i have try to update value database.server.stats.interval to 0 but it keep insert data to management database and also influxdb

GitHub link: https://github.com/apache/cloudstack/discussions/12065

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] vm stat and host stat [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
GitHub user DaanHoogland added a comment to the discussion: vm stat and host stat

@j3cky , the stats collector cannot be disabled (needs code change). `database.server.stats.interval` is an interval between collection of statistics **_about_** the DB. It can be adjusted to not keep any historic data by setting `database.server.stats.retention` to 1. It should not safe anything to the DB. 
Look for other settings with `.retention.` in the name for other data. `vm.stats.max.retention.time` is the one you seem to be looking for. Note however that data will be added anyway.
look at `vm.disk.stats.interval` to disable it, but I am not sure if your stats will be output to the uri in that case.

GitHub link: https://github.com/apache/cloudstack/discussions/12065#discussioncomment-14959906

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] vm stat and host stat [cloudstack]

Posted by "j3cky (via GitHub)" <gi...@apache.org>.
GitHub user j3cky added a comment to the discussion: vm stat and host stat

Hi @DaanHoogland
if i configure stats.output.uri then where UI get data for VM performace metric?is it from  management mysql or influxdb? i want to speed up vm performance metric in UI.


GitHub link: https://github.com/apache/cloudstack/discussions/12065#discussioncomment-15636956

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org