tracee
tracee copied to clipboard
feat(metrics): add pipeline average time metrics
1. Explain what the PR does
4aed8fc feat(metrics): add pipeline average time metrics
Add two prometheus gauges measuring the following metrics:
1. Average time spent from kernel to decoding
2. Average time spent from kernel to publishing
2. Explain how to test it
tracee --metrics- Enter
localhost:3366/metrics - Check the pipeline metrics
3. Other comments
Resolve #3844
We have this update https://github.com/aquasecurity/tracee/pull/3875
Please rebase your PR against main to make use of the new workflow setup.
@NDStrahilevitz I'm not able to run the github actions on this. If it's ready for review, could you rebase it again? Tks.
I'm thinking this PR should be redone at a later date, with a better measurement for kernel time, and split per event in a histogram (@yanivagman the time submission method you've shared with me would work well for this).