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

metrics: add a per-exec-id counter for missing parents #24

Merged

Conversation

willfindlay
Copy link
Contributor

This counter is useful to help debug cases where process exec events are missing a parent.
Using the parent exec ID in the metric, we can determine the corresponding pid and cross
check against Tetragon event logs. This can help establish patterns and determine an
underlying root cause.

As a practical example, this counter recently helped me diagnose the underlying cause of
missing parents in kind deployments.

Signed-off-by: William Findlay [email protected]

@willfindlay willfindlay requested a review from jrfastab May 14, 2022 15:21
This counter is useful to help debug cases where process exec events are missing a parent.
Using the parent exec ID in the metric, we can determine the corresponding pid and cross
check against Tetragon event logs. This can help establish patterns and determine an
underlying root cause.

As a practical example, this counter recently helped me diagnose the underlying cause of
missing parents in kind deployments.

Signed-off-by: William Findlay <[email protected]>
@willfindlay willfindlay force-pushed the pr/willfindlay/missing-parent-metrics branch from ca449fb to 2ca9b66 Compare May 15, 2022 18:04
@jrfastab jrfastab merged commit 35e4b8b into cilium:main May 16, 2022
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.

3 participants