Skip to content

Process starttime non-cgo implementation #147

@kruskall

Description

@kruskall

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions