Re: [vpp-dev] How to add plugin's statistics into stats thread
Hi folks, Are there any suggestions for this? Basically we want have effective method to calculate statistics like pps for cps inside plugin. Thanks, Mori From: "Ni, Hongjun" Date: Monday, May 7, 2018 16:21 To: "Jerome Tollet (jtollet)" , vpp-dev Cc: "Mori, Naoyuki" , Yusuke Tatsumi Subject: RE: [vpp-dev] How to add plugin's statistics into stats thread Hi Jerome, We would like to add LB plugin statistics, including per- VIP connections and per-AS connections for each VIP. Frequency is configurable, 1 second is better. Data of volume depends on the number of VIPs and Ass. Please refer to below patch for details: https://gerrit.fd.io/r/#/c/12146/2/src/plugins/lb/lb.api Thank you, Hongjun From: Jerome Tollet (jtollet) [mailto:jtol...@cisco.com] Sent: Monday, May 7, 2018 3:15 PM To: Ni, Hongjun ; vpp-dev Cc: Mori, Naoyuki ; Yusuke Tatsumi Subject: Re: [vpp-dev] How to add plugin's statistics into stats thread Hi Hongjun, Could you elaborate a bit on the kind of statistics you’d like to create? Frequency and volume of data may be interesting inputs. Jerome De : mailto:vpp-dev@lists.fd.io>> au nom de "Ni, Hongjun" mailto:hongjun...@intel.com>> Date : lundi 7 mai 2018 à 07:43 À : vpp-dev mailto:vpp-dev@lists.fd.io>> Cc : "Mori, Naoyuki" mailto:naoyuki.m...@intel.com>>, Yusuke Tatsumi mailto:ytats...@yahoo-corp.jp>> Objet : [vpp-dev] How to add plugin's statistics into stats thread Hi all, We want to add plugin’s statistics into VPP stats thread. But it seems that current stats thread only support codebase (i.e. vnet) statistics. Is there some mechanism to support adding plugin’s statistics into stats thread? Thanks, Hongjun
Re: [vpp-dev] How to add plugin's statistics into stats thread
Hi Jerome, We would like to add LB plugin statistics, including per- VIP connections and per-AS connections for each VIP. Frequency is configurable, 1 second is better. Data of volume depends on the number of VIPs and Ass. Please refer to below patch for details: https://gerrit.fd.io/r/#/c/12146/2/src/plugins/lb/lb.api Thank you, Hongjun From: Jerome Tollet (jtollet) [mailto:jtol...@cisco.com] Sent: Monday, May 7, 2018 3:15 PM To: Ni, Hongjun ; vpp-dev Cc: Mori, Naoyuki ; Yusuke Tatsumi Subject: Re: [vpp-dev] How to add plugin's statistics into stats thread Hi Hongjun, Could you elaborate a bit on the kind of statistics you’d like to create? Frequency and volume of data may be interesting inputs. Jerome De : mailto:vpp-dev@lists.fd.io>> au nom de "Ni, Hongjun" mailto:hongjun...@intel.com>> Date : lundi 7 mai 2018 à 07:43 À : vpp-dev mailto:vpp-dev@lists.fd.io>> Cc : "Mori, Naoyuki" mailto:naoyuki.m...@intel.com>>, Yusuke Tatsumi mailto:ytats...@yahoo-corp.jp>> Objet : [vpp-dev] How to add plugin's statistics into stats thread Hi all, We want to add plugin’s statistics into VPP stats thread. But it seems that current stats thread only support codebase (i.e. vnet) statistics. Is there some mechanism to support adding plugin’s statistics into stats thread? Thanks, Hongjun
Re: [vpp-dev] How to add plugin's statistics into stats thread
Hi Hongjun, Could you elaborate a bit on the kind of statistics you’d like to create? Frequency and volume of data may be interesting inputs. Jerome De : au nom de "Ni, Hongjun" Date : lundi 7 mai 2018 à 07:43 À : vpp-dev Cc : "Mori, Naoyuki" , Yusuke Tatsumi Objet : [vpp-dev] How to add plugin's statistics into stats thread Hi all, We want to add plugin’s statistics into VPP stats thread. But it seems that current stats thread only support codebase (i.e. vnet) statistics. Is there some mechanism to support adding plugin’s statistics into stats thread? Thanks, Hongjun
[vpp-dev] How to add plugin's statistics into stats thread
Hi all, We want to add plugin's statistics into VPP stats thread. But it seems that current stats thread only support codebase (i.e. vnet) statistics. Is there some mechanism to support adding plugin's statistics into stats thread? Thanks, Hongjun