Skip to content

pks/metrics: add syscall metrics#924

Merged
kkourt merged 1 commit into
mainfrom
pr/kkourt/syscall_metrics
Apr 14, 2023
Merged

pks/metrics: add syscall metrics#924
kkourt merged 1 commit into
mainfrom
pr/kkourt/syscall_metrics

Conversation

@kkourt

@kkourt kkourt commented Apr 13, 2023

Copy link
Copy Markdown
Contributor

This patch adds system call metrics. It looks for raw_syscall/sys_enter events and updates metrics.

It is expected to work with the examples/tracingpolicy/raw_syscalls.yaml custom resource. We can also update the code to work with kprobes, but this is left as future work.

The patch also updates the above yaml, so that it can be applied via kubectl.

@kkourt
kkourt requested a review from a team as a code owner April 13, 2023 15:47
@kkourt
kkourt requested a review from kevsecurity April 13, 2023 15:47
This patch adds system call metrics. It looks for raw_syscall/sys_enter
events and updates metrics.

It is expected to work with the examples/tracingpolicy/raw_syscalls.yaml
custom resource. We can also update the code to work with kprobes, but
this is left as future work.

The patch also updates the above yaml, so that it can be applied via
kubectl.

Signed-off-by: Kornilios Kourtis <kornilios@isovalent.com>
@kkourt
kkourt force-pushed the pr/kkourt/syscall_metrics branch from f538ddf to 2521f72 Compare April 13, 2023 16:05
Comment thread pkg/metrics/syscallmetrics/syscallmetrics.go
@kkourt
kkourt merged commit 51a8e99 into main Apr 14, 2023
@kkourt
kkourt deleted the pr/kkourt/syscall_metrics branch April 14, 2023 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants