Hi,
Many metrics are self explanatory others have description prefix, but NAT lacks 
of description.
I'm writing basic metrics collector plugin for vpp stats with one worker.
So, output shows two arrays for main and additional thread.

Can somebody explain what's the meaning of array counters, I see four elements 
but can't figure meaning of it.
Searching vpp source code doesn't help.

sudo ./test1 | grep -P "^/nat44-ed"
/nat44-ed/total-sessions                                 SimpleCounterVector 
[[0] [1008461]]
/nat44-ed/max-cfg-sessions                                       ScalarIndex 
4e+06
/nat44-ed/in2out/fastpath/tcp                            SimpleCounterVector 
[[0 0 0 0] [0 0 1200447134 0]]
/nat44-ed/out2in/fastpath/tcp                            SimpleCounterVector 
[[0 0 0 0] [0 0 0 2723258271]]
/nat44-ed/in2out/slowpath/tcp                            SimpleCounterVector 
[[0 0 0 0] [0 0 10205237 0]]
/nat44-ed/out2in/slowpath/tcp                            SimpleCounterVector 
[[0 0 0 0] [0 0 0 0]]
....
/nat44-ed/out2in/fastpath/drops                          SimpleCounterVector 
[[0 0 0 0] [0 0 0 122206]]
/nat44-ed/in2out/slowpath/drops                          SimpleCounterVector 
[[0 0 0 0] [0 0 4124577 0]]
/nat44-ed/out2in/slowpath/drops                          SimpleCounterVector 
[[0 0 0 0] [0 0 0 18635192]]
/nat44-ed/hairpinning                                    SimpleCounterVector 
[[0 0 0 0] [0 0 0 0]]
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20212): https://lists.fd.io/g/vpp-dev/message/20212
Mute This Topic: https://lists.fd.io/mt/85920364/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to