Hello,
Currently sampling rate is fixed and can not be changed. However there is a patch https://gerrit.fd.io/r/#/c/9671/3 which is in review process to set the poller frequency. You can have a look at it.? Cheers, Mohsin ________________________________ From: [email protected] <[email protected]> on behalf of Hao Fu (haof) Sent: Thursday, March 1, 2018 5:57 AM To: [email protected] Subject: [vpp-dev] How to actively get stats with VPP API? Dear All, I try to collect stats for nics controlled by VPP and I can successfully receive some outcomes using want_stats() in Python binding. However, it seems the stats are passively retrieved every 10 secs through the monitoring event handler. How could I proactively query the stats with a customized sampling rate? Thank you in advance, Hao
