Skip to content

Felix BPF conntrack metrics: ip_family label and max_entries - #3112

Draft
tomastigera wants to merge 1 commit into
tigera:mainfrom
tomastigera:tomas/bpf-ct-metrics-family
Draft

tomastigera wants to merge 1 commit into
tigera:mainfrom
tomastigera:tomas/bpf-ct-metrics-family

Conversation

@tomastigera

Copy link
Copy Markdown
Contributor

Product Version(s):
Calico Enterprise and Calico Cloud next (unversioned pages). Released versions are unchanged.

Issue:
Docs for projectcalico/calico#14273, which labels the eBPF conntrack metrics by IP family and adds a capacity metric.

Link to docs preview:
TBD

SME review:

  • An SME has approved this change.

DOCS review:

  • A member of the docs team has approved this change.

Additional information:

  • All felix_bpf_conntrack_* metrics now carry an ip_family label (4/6). Before, v4 and v6 overwrote each other on dual-stack nodes.
  • New felix_bpf_conntrack_max_entries, and the fill-level query (used - cleaned) / max_entries.
  • felix_bpf_conntrack_cleaned_total now counts cleaned entries, not visited ones. Description fixed.
  • Adds the existing but undocumented felix_bpf_conntrack_cleaner_seconds.

Hold until calico#14273 merges.

Merge checklist:

  • Deploy preview inspected wherever changes were made
  • Build completed successfully
  • Test have passed

Copilot AI lite review requested due to automatic review settings October 14, 2026 23:28
@netlify

netlify Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview succeeded!

Built without sensitive environment variables

Name Link
🔨 Latest commit 8af17d7
🔍 Latest deploy log https://app.netlify.com/projects/tigera/deploys/6ad0100e003713cb12ca251c
😎 Deploy Preview https://deploy-preview-3112--tigera.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 97 (🟢 up 24 from production)
Accessibility: 98 (no change from production)
Best Practices: 92 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for calico-docs-preview-next ready!

Name Link
🔨 Latest commit 8af17d7
🔍 Latest deploy log https://app.netlify.com/projects/calico-docs-preview-next/deploys/6ad0100e0eaad42a7c2aaea2
😎 Deploy Preview https://deploy-preview-3112--calico-docs-preview-next.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

Hold publication until the upstream Felix metrics implementation merges.

1 open finding
What changed in this PR

This PR updates the next-version Felix metrics references for Calico Enterprise and Calico Cloud to document the planned eBPF conntrack metrics change.

Changes:

  • Documents the cleaner runtime and conntrack table capacity metrics.
  • Corrects the cleaned-total description and explains the ip_family label and fill-level query.
File Description
calico-enterprise/​reference/​component-resources/​node/​felix/​prometheus.mdx Updates the Enterprise metrics reference.
calico-cloud/​reference/​component-resources/​node/​felix/​prometheus.mdx Updates the Cloud metrics reference.

🧠 Review effort: Lite


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

| `felix_bpf_conntrack_expired` | Number of entries cleaned during a conntrack table sweep due to expiration. |
| `felix_bpf_conntrack_expired_total` | Total number of entries cleaned during conntrack table sweep due to expiration - by reason. |
| `felix_bpf_conntrack_inforeader_blocks` | Conntrack InfoReader would-blocks. |
| `felix_bpf_conntrack_max_entries` | Capacity of the conntrack table. Grows when the table is resized. |
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