Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add carrier_changes metric for network interfaces #289

Closed
l2dy opened this issue Jul 3, 2024 · 1 comment
Closed

Add carrier_changes metric for network interfaces #289

l2dy opened this issue Jul 3, 2024 · 1 comment

Comments

@l2dy
Copy link

l2dy commented Jul 3, 2024

Add /sys/class/net/{name}/carrier_changes to the network interface sampler.

Reference:
https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-class-net

What:		/sys/class/net/<iface>/carrier_changes
Date:		Mar 2014
KernelVersion:	3.15
Contact:	[email protected]
Description:
		32-bit unsigned integer counting the number of times the link has
		seen a change from UP to DOWN and vice versa
@brayniac
Copy link
Contributor

brayniac commented Jul 3, 2024

I believe this will be addressed by #290

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants