Skip to content

Conversation

shrouti1995
Copy link
Collaborator

@shrouti1995 shrouti1995 commented Aug 13, 2025

Adding support to export conntrack metrics per zone.
Details:

  1. Used netlink API via go-openvswitch/ovsnl package
  2. Implemented proper metric collection through Prometheus collector interface

@shrouti1995 shrouti1995 requested a review from Copilot August 13, 2025 10:39
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@shrouti1995 shrouti1995 marked this pull request as draft August 13, 2025 10:51
// ConntrackCollectorWithAggAccessor wraps the existing collector with access to the aggregator snapshot
type ConntrackCollectorWithAggAccessor struct {
*conntrackCollector
SnapshotFunc func() map[uint16]map[uint32]int

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this used anywhere?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants