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

Process starttime non-cgo implementation #147

Open
kruskall opened this issue Jan 24, 2023 · 0 comments
Open

Process starttime non-cgo implementation #147

kruskall opened this issue Jan 24, 2023 · 0 comments

Comments

@kruskall
Copy link
Member

From #127 (comment)

I am using the startup time for the Java agent attacher
However, it is not the most crucial piece of info I rely on. Even if I don't do anything, processes will be only identified only based on their PID. That should be good enough as the cache I am maintaining gets updated every second, including the removal of stale process entries, which means there will be a problem only if a process is terminated and another starts with the same PID within one second, which is unlikely enough for the macOS use case (non-production).

APM Server is built without CGO but we need the process starttime for the java attacher and that requires CGO.

Solution: implement process starttime without CGO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants