You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running using the provided (in packaging/linux/ubuntu) systemd service, the sandbox established by SystemD effectively prevents scaphandre from determining the "exe" label value (I suspect from /proc/<pid>/exe).
Running with root (without sandboxing) provides a value for the exe label for many processes.
# HELP scaph_process_memory_bytes Physical RAM usage by the process, in bytes
# TYPE scaph_process_memory_bytes gauge
scaph_process_memory_bytes{pid="957",exe="/usr/local/bin/scaphandre",cmdline="/usr/bin/scaphandreprometheus--containers--port=8080"} 30650368
...so it only is able to determine the exe for itself, no other processes.
Environment
Arch Linux using Kernel 6.7.6-arch1-1
The text was updated successfully, but these errors were encountered:
To be sure to reproduce, having the exact same system would be better. Is there any chance you try a fork of this systemd service file for your Arch system, tweaking the service file, then feed this thread ?
Bug description
When running using the provided (in
packaging/linux/ubuntu
) systemd service, the sandbox established by SystemD effectively prevents scaphandre from determining the "exe" label value (I suspect from/proc/<pid>/exe
).Running with
root
(without sandboxing) provides a value for theexe
label for many processes.To Reproduce
Expected behavior
The
exe
label has a value for most processes.Screenshots
Expected example:
Actual example:
...which essentially is something like this:
...so it only is able to determine the
exe
for itself, no other processes.Environment
Arch Linux using Kernel 6.7.6-arch1-1
The text was updated successfully, but these errors were encountered: