Skip to content

Conversation

@kkourt
Copy link
Contributor

@kkourt kkourt commented Jan 27, 2026

There are two types of evictions happening in the process cache:

  1. Explicit, i.e., by removing a key
  2. Capacity / Implicit, i.e., by running out of entries when we add a key

The metric that Tetragon currently exports includes both. This commit adds a new metric for the capacity evictions only.

process cache: add a metric for capacity evictions

@kkourt kkourt requested a review from a team as a code owner January 27, 2026 09:32
@kkourt kkourt added the release-note/minor This PR introduces a minor user-visible change label Jan 27, 2026
@kkourt kkourt requested a review from kevsecurity January 27, 2026 09:32
@netlify
Copy link

netlify bot commented Jan 27, 2026

Deploy Preview for tetragon ready!

Name Link
🔨 Latest commit b1d6cb3
🔍 Latest deploy log https://app.netlify.com/projects/tetragon/deploys/6978864754fc7e000807399c
😎 Deploy Preview https://deploy-preview-4574--tetragon.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

There are two types of evictions happening in the process cache:
1. Explicit, i.e., by removing a key
2. Capacity / Implicit, i.e., by running out of entries when we add a key

The metric that Tetragon currently exports includes both. This commit
adds a new metric for the capacity evictions only.

Signed-off-by: Kornilios Kourtis <[email protected]>
@kkourt kkourt force-pushed the pr/kkourt/lru-evictions branch from b1d6cb3 to 1fd73d1 Compare January 27, 2026 10:03
Copy link
Contributor

@FedeDP FedeDP left a comment

Choose a reason for hiding this comment

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

lgtm!

Copy link
Member

@mtardy mtardy left a comment

Choose a reason for hiding this comment

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

Yep, thanks!

@kkourt kkourt merged commit 2f26576 into main Jan 29, 2026
51 of 52 checks passed
@kkourt kkourt deleted the pr/kkourt/lru-evictions branch January 29, 2026 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-note/minor This PR introduces a minor user-visible change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants