tracee icon indicating copy to clipboard operation
tracee copied to clipboard

feat(metrics): add pipeline average time metrics

Open NDStrahilevitz opened this issue 1 year ago • 1 comments

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

  1. tracee --metrics
  2. Enter localhost:3366/metrics
  3. Check the pipeline metrics

3. Other comments

Resolve #3844

NDStrahilevitz avatar Feb 04 '24 17:02 NDStrahilevitz

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.

geyslan avatar Feb 21 '24 11:02 geyslan

@NDStrahilevitz I'm not able to run the github actions on this. If it's ready for review, could you rebase it again? Tks.

geyslan avatar Apr 03 '24 15:04 geyslan

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).

NDStrahilevitz avatar May 20 '24 08:05 NDStrahilevitz