Skip to content

In network adapter metrics, add attribute to indicate protocol type #3137

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

Open
sebastien-rosset opened this issue Jan 23, 2023 · 0 comments
Open
Assignees
Labels
spec:metrics Related to the specification/metrics directory

Comments

@sebastien-rosset
Copy link
Contributor

sebastien-rosset commented Jan 23, 2023

What are you trying to achieve?

Improve the network adapter metrics section. Add attribute to identify the type of network interface, e.g., Ethernet or Fibre Channel.

What did you expect to see?

In the network adapter metrics, I was expecting to find an attribute that identifies the type of adapter, such as "Ethernet" or "Fibre Channel". The hw.type attribute is specified, but its value is set to network, so it's not possible to distinguish between Ethernet versus Fibre Channel or other protocols.

Additional context.

The examples indicate the metrics can be used for Ethernet or Fibre Channel (and presumably other types of network adapters).

A physical network interface, or a network interface controller (NIC), excluding virtual adapters and loopbacks. Examples: an Ethernet adapter, an HBA, an fiber channel port or a Wi-Fi adapter.

Some of the attributes such as id, name, vendor or model may be used as a proxy. However, some adapters are capable of operating in either Fibre Channel mode or Ethernet, so vendor and model are not sufficient. A custom logic would have to be developed.

A standardized attribute for the protocol type would solve this problem.

@sebastien-rosset sebastien-rosset added the spec:metrics Related to the specification/metrics directory label Jan 23, 2023
@sebastien-rosset sebastien-rosset changed the title Add attribute to indicate type of network adapter Add attribute to indicate type of network interface Jan 23, 2023
@sebastien-rosset sebastien-rosset changed the title Add attribute to indicate type of network interface In network adapter metrics, add attribute to indicate protocol type Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spec:metrics Related to the specification/metrics directory
Projects
None yet
Development

No branches or pull requests

2 participants