Thanks! I'll check it out.

Regards,
Akash

On Fri, Mar 5, 2021, 2:05 PM <otr...@employees.org> wrote:

> > I am in need to print the VPP statistics from an external application.
> Is that possible? I have gone through some links with telemetry plugins and
> some other but couldn't find out the exact thing which I can do to print
> this from my external application. Kindly help me out with this.
>
> VPP exposes telemetry information through a shared memory "stats segment".
>
> There are existing external integrations with prometheus, gnmi.
> A fuse filesystem is in the works.
>
> In addition there are language bindings in C, Go and Python to access it
> externally.
> https://git.fd.io/vpp/tree/src/vpp/stats/stats.md
>
> Or you can use the example tools vpp_get_stats (or vpp_prometheus_export).
>
> sudo vpp_get_stats ls /if/
> sudo vpp_get_stats dump ^/if/tx/$
> [0 @ 0]: 0 packets, 0 bytes /if/tx
> [1 @ 0]: 7 packets, 622 bytes /if/tx
> [2 @ 0]: 0 packets, 0 bytes /if/tx
> [3 @ 0]: 0 packets, 0 bytes /if/tx
>
> Best regards,
> Ole
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#18861): https://lists.fd.io/g/vpp-dev/message/18861
Mute This Topic: https://lists.fd.io/mt/81098207/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