Conversation
See also: prometheus/node_exporter#1915 Signed-off-by: Julian Kornberger <jk+github@digineo.de>
89bc4e6 to
8e91b32
Compare
|
Sorry I only saw this after opening #378. In any case it's a different approach, would appreciate if you would take a look. It should solve #1915 too. |
|
Hi, can you both outline how the changes to node-exporter will look like? That would help figuring out the best way to go |
|
I prefer to keep out the matching logic from the procfs package and to have only two methods:
|
There is
Fwiw this sound good to me. I'd have the node_exporter change ready to go here: https://github.com/prometheus/node_exporter/compare/master...jan--f:netclass-filter-before-parsing?expand=1 |
discordianfish
left a comment
There was a problem hiding this comment.
AH gotcha. Okay if we all agree on that, let's go with this one. LGTM
|
@discordianfish is anything blocking a merge here? I would love to finish up prometheus/node_exporter#2033 and ship that soon. |
We should filter excluded interfaces before parsing the interface details. This change is based on prometheus/procfs#376 Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
We should filter excluded interfaces before parsing the interface details. This change is based on prometheus/procfs#376 Signed-off-by: Jan Fajerski <jfajersk@redhat.com> (cherry picked from commit e656b79)
We should filter excluded interfaces before parsing the interface details. This change is based on prometheus/procfs#376 Signed-off-by: Jan Fajerski <jfajersk@redhat.com> (cherry picked from commit e656b79)
Add NetClassByIface
We should filter excluded interfaces before parsing the interface details. This change is based on prometheus/procfs#376 Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
We should filter excluded interfaces before parsing the interface details. This change is based on prometheus/procfs#376 Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
See also: prometheus/node_exporter#1915
Do we need to keep the
NetClass()method?