prometheus / procfs

procfs provides functions to retrieve system, kernel and process metrics from the pseudo-filesystem proc.
Apache License 2.0
769 stars 319 forks source link

Add NSpid to proc status #557

Closed NirLevy98 closed 1 year ago

NirLevy98 commented 1 year ago

This adds the NSpid to ProcStatus

NirLevy98 commented 1 year ago

@pgier @discordianfish

NirLevy98 commented 1 year ago

@discordianfish Could you please take another look at this? In a situation where NSpid has two pids, I will take the first one.

discordianfish commented 1 year ago

@NirLevy98 Why taking the first one instead of exposing a list of pids?

NirLevy98 commented 1 year ago

@discordianfish Support for a list of NSPIDs has been added