appsignal / probes-rs

Rust library to read out system stats from a machine running Unix
MIT License
15 stars 2 forks source link

Split container memory metrics function #32

Closed tombruijn closed 6 years ago

tombruijn commented 6 years ago

Allow directly calling the container memory metrics function in case the container detection isn't accurate enough.

Drop the automatic container detection so we can use the running_in_container option in the AppSignal agent instead, which is user configurable. Allows for corrections is the container detection is inaccurate.

Used in https://github.com/appsignal/appsignal-agent/pull/373