Closed tpapagian closed 2 weeks ago
Name | Link |
---|---|
Latest commit | fd2fba3044d0c43a3bc6b16e185afd9977e8c4b8 |
Latest deploy log | https://app.netlify.com/sites/tetragon/deploys/6729275461cfec000957f70a |
Deploy Preview | https://deploy-preview-3074--tetragon.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Let's assume the following example:
After that, if we try to get the metrics from another terminal we get the following errors:
The issue here, is that we get two metrics withg the same labels. This happens because we need the retprobe as well (i.e. returnArg) and this have the same name as the kprobe.
To fix that we need to add another label for the section that we use to attach. This patch adds that and the example metrics from the previous example are:
Which reports both the attach function (i.e.
security_mmap_file
) and the program that we use to attach (i.e.kprobe/generic_kprobe
andkprobe/generic_retkprobe
).