influxdata / influxdata/telegraf
Enhancement of ethtools
- Dominant language
- Go
- Stars
- 17.8k
- Forks
- 5.8k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 161
Description
### Use Case
In the ethtool we would like to tag the interfaces with it's alias this can be found in /sys/class/net//ifalias.
### Expected behavior
ethtool,driver=igb,host=test01,interface=mgmt0 tx_queue_1_packets=280782i,rx_queue_5_csum_err=0i,<>,ifalias="ifalias-description",autoneg=1i 1564658080000000000
### Actual behavior
ethtool,driver=igb,host=test01,interface=mgmt0 tx_queue_1_packets=280782i,rx_queue_5_csum_err=0i,<>,autoneg=1i 1564658080000000000
### Additional info
_No response_
Contributor guide
Research direction
Start at the ethtool input entry point and inspect how interface data is read from /sys/class/net//ifalias. Confirm that the emitted ethtool measurement includes an ifalias tag when the interface has an alias, matching the expected output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, linux
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100