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
{{ message }}
Repository navigation
Replace netstat parsers with procfs netstat parsers #2336
@discordianfish@SuperQ I think we should consider refactoring the types of the metrics on the procfs side here, here and here from float64 to *float64 because we need to have a value only for the metrics provided by the current system. And afterwards check on the node_exporter side here if the value is not nil and feed it to the channel.
hi, i've been exploring and using prometheus exporters as of late and would love to contribute some fixes etc to this project (learning stuff along the way). I think no one's actively working on this issue right now and would like to take this up.
I have a question about this issue tho: I've looked into the relevant parts of both the codebases and read up about the proc filesystem and it seems like the mentioned prometheus/procfs netstat parsers currently require a PID and are process specific, as in they're only made to parse /proc/<pid>/net/netstat and not the overall /proc/net/netstat which is what the node_exporter currently uses. And I think these two can vary if the process is in a different network namespace?
p.s. this is my first time learning about these concepts and contributing to Golang / cloud projects in general so there are chances I might've missed something
I looked into the code and procfs more and figured out what I was missing but in doing so I realised, a lot of work done in #2360 holds up and can be proceeded with now that prometheus/procfs#464 is merged. I wonder if you'd be available for this, @nikakis? I'd be available to take over otherwise, let me know!
Hi @nikakis & @exitflynn, are you working on this? I would like to contribute to the project, and was wondering whether I could start from this one, if you are not working with this issue anymore.
Activity
nikakis commentedon Apr 5, 2022
@discordianfish Can you please assign this to me, i will start working on it asap.
nikakis commentedon May 3, 2022
@discordianfish @SuperQ I think we should consider refactoring the types of the metrics on the procfs side here, here and here from
float64to*float64because we need to have a value only for the metrics provided by the current system. And afterwards check on the node_exporter side here if the value is notniland feed it to the channel.What do you think about this?
discordianfish commentedon Jun 7, 2022
I think this is reasonable
jcpunk commentedon Nov 16, 2022
Any progress on getting this resolved?
nikakis commentedon Nov 17, 2022
@jcpunk Yes, I will work on it during the next days.
guerzon commentedon Nov 5, 2023
Hey @nikakis, any chance I can take this issue? I would like to give this a shot.
SuperQ commentedon Nov 5, 2023
Go for it.
exitflynn commentedon Feb 3, 2024
hi, i've been exploring and using prometheus exporters as of late and would love to contribute some fixes etc to this project (learning stuff along the way). I think no one's actively working on this issue right now and would like to take this up.
I have a question about this issue tho: I've looked into the relevant parts of both the codebases and read up about the
procfilesystem and it seems like the mentioned prometheus/procfs netstat parsers currently require a PID and are process specific, as in they're only made to parse/proc/<pid>/net/netstatand not the overall/proc/net/netstatwhich is what the node_exporter currently uses. And I think these two can vary if the process is in a different network namespace?p.s. this is my first time learning about these concepts and contributing to Golang / cloud projects in general so there are chances I might've missed something
exitflynn commentedon May 30, 2024
I looked into the code and procfs more and figured out what I was missing but in doing so I realised, a lot of work done in #2360 holds up and can be proceeded with now that prometheus/procfs#464 is merged. I wonder if you'd be available for this, @nikakis? I'd be available to take over otherwise, let me know!
nikakis commentedon Aug 21, 2024
Yes go ahead please. I don't have time to work on this right now.
erjavaskivuori commentedon Aug 14, 2025
Hi @nikakis & @exitflynn, are you working on this? I would like to contribute to the project, and was wondering whether I could start from this one, if you are not working with this issue anymore.