Thank you Ole! Will give it a try. Thanks, Hongjun
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Ole Troan Sent: Thursday, September 6, 2018 10:39 PM To: Ni, Hongjun <[email protected]> Cc: vpp-dev <[email protected]> Subject: Re: [vpp-dev] To support plugin's statistics Hongjun, > I get that you guys have developed a new statistics infrastructure recently. > > Could you help to give me some guide on how to add plugin’s stats to the new > stats infra? All plugin error counters get there by default. If you add new named counters, they will also get there without any action required from the plugin. Use vpp_get_stats to list, dump and poll counters as an example of external application. Otherwise there’s also a python interface. Cheers, Ole
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10415): https://lists.fd.io/g/vpp-dev/message/10415 Mute This Topic: https://lists.fd.io/mt/25237422/21656 Group Owner: [email protected] Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
