Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v1.1] Fix tetragon_process_cache_size metric #2910

Merged

Conversation

lambdanis
Copy link
Contributor

[ upstream commit: 9e35cba ]

tetragon_process_cache_size metric was increased on every add() and never decreased. This is incorrect - fix it, so that it's increased on add() only if there was no LRU eviction and it's decreased on remove().

[ upstream commit: 9e35cba ]

tetragon_process_cache_size metric was increased on every add() and never
decreased. This is incorrect - fix it, so that it's increased on add() only if
there was no LRU eviction and it's decreased on remove().

Signed-off-by: Anna Kapuscinska <[email protected]>
@lambdanis lambdanis added area/metrics Related to prometheus metrics kind/backport This PR provides functionality previously merged into master. release-note/bug This PR fixes an issue in a previous release of Tetragon. labels Sep 12, 2024
@lambdanis lambdanis requested a review from a team as a code owner September 12, 2024 10:25
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.

Thanks!!

@lambdanis lambdanis merged commit 503de69 into cilium:v1.1 Sep 12, 2024
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/metrics Related to prometheus metrics kind/backport This PR provides functionality previously merged into master. release-note/bug This PR fixes an issue in a previous release of Tetragon.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants