Bug 1821904 - [Debugging] Add statistics for OVN entities
Summary: [Debugging] Add statistics for OVN entities
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux Fast Datapath
Classification: Red Hat
Component: OVN
Version: FDP 20.C
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: OVN Team
QA Contact: Jianlin Shi
URL:
Whiteboard:
Depends On:
Blocks: 2032562 2123176
TreeView+ depends on / blocked
 
Reported: 2020-04-07 19:32 UTC by Mark Michelson
Modified: 2023-07-28 16:44 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-28 16:44:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FD-562 0 None None None 2022-04-10 12:15:19 UTC

Description Mark Michelson 2020-04-07 19:32:34 UTC
OVN is configured as a collection of logical switches and routers connected together. These logical entities get compiled into logical flows and then later into hypervisor-specific OpenFlow flows. By the time that it is deployed, the original logical entities are far removed from what the actual network traffic hits.

An administrator can currently look at individual flows to determine where traffic is going, but it's difficult to tie these back to the logical entities that were originally created.

For this task, we want to be able to have centralized query-able statistics for OVN logical entities. For instance, knowing how many packets a certain switch/router has seen, how many packets were dropped by a certain switch/router, how many packets are going over specific routes, etc.

Comment 1 Dumitru Ceara 2022-08-31 13:29:49 UTC
Another, maybe a bit indirect, way of getting statistics for given entities is to use IPFIX and allow the CMS to define different observation ids for different entities.

Something similar was requested a while back upstream:
https://mail.openvswitch.org/pipermail/ovs-dev/2016-September/323660.html

And Adrian's series to add drop counters is also related as it adds an OVN "sample" action:
https://www.mail-archive.com/ovs-dev@openvswitch.org/msg66608.html
https://patchwork.ozlabs.org/project/ovn/list/?series=304578&state=*

Comment 2 Mark Michelson 2023-07-28 16:44:38 UTC
I am closing this issue. There is a new effort underway between the OVN team and Prometheus team to get data exported. The new effort supersedes this old issue.


Note You need to log in before you can comment on or make changes to this bug.