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

Add the observation function for slow, timeout and error system calls #366

Closed
yaofighting opened this issue Nov 23, 2022 · 2 comments
Closed
Labels
area/collector Issues or PRs related to agent metric collector area/probe Issues or PRs related to agent probe enhancement New feature or request

Comments

@yaofighting
Copy link
Contributor

yaofighting commented Nov 23, 2022

Background
With the increase of the number of applications and services in the system, we often need to locate some system calls that run for a long time or have errors. They are often bottlenecks that cause service or application problems.

Solution
System call information is obtained in the kernel based on eBPF technology. System calls are analyzed, processed and correlated in user space. Long running system calls are divided into slow system calls and timeout system calls. Slow system calls will be matched immediately according to enter and exit, and overtime system calls will be judged by the timed polling mechanism.The timeout time of the timeout system call and the slow threshold determination time of the slow system call are both configured by the user.

Features
[1] Modify the configuration file structure and add parameter fields for subscription events.
[2] Achieve the Slow Syscall function.
[3] Achieve the Timeout Syscall function.

@dxsup
Copy link
Member

dxsup commented Jan 11, 2023

There is still a lot of work to do. Expect this can be finished before February.

@dxsup dxsup added enhancement New feature or request area/probe Issues or PRs related to agent probe area/collector Issues or PRs related to agent metric collector labels Jan 11, 2023
@dxsup
Copy link
Member

dxsup commented May 5, 2023

We won't be scheduling this feature in the near future since we haven't identified a valuable use case for it yet. We need more information before we can decide whether to continue working on it.

@dxsup dxsup closed this as completed May 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/collector Issues or PRs related to agent metric collector area/probe Issues or PRs related to agent probe enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants