aurae-runtime / aurae

Distributed systems runtime daemon written in Rust.
https://aurae.io
Apache License 2.0
1.84k stars 90 forks source link

Introduce the ability to specify workload type for `GetPosixStreamSignals` #391

Closed JeroenSoeters closed 1 year ago

JeroenSoeters commented 1 year ago

This PR allows for specifying a workload when retrieving the POSIX signals stream. Right now only 1 type of workload is supported (Cell) and only a single Cell can be specified.

To achieve this the eBPF probe now surfaces the cgroup_id and the observe_service has a cache that allows for looking up the cgroup_path for a cgroup_id. With the cgroup_path we can filter out signals relevant to a specific cell.