open-telemetry / semantic-conventions

Defines standards for generating consistent, accessible telemetry across a variety of domains
Apache License 2.0
251 stars 163 forks source link

Add k8s.{pod,node}.network.{io,errors} metrics #1427

Open ChrsMark opened 4 days ago

ChrsMark commented 4 days ago

Part of https://github.com/open-telemetry/semantic-conventions/issues/1032

Changes

This PR adds the following metrics:

The above metrics are already used in the Collector in the kubeletstats receiver and the naming is aligned with the System metrics.

These metrics come with the following attributes network.io.direction and system.device which are already part of SemConv registry and are used in the System metrics. The attributes in the Collector will need to be adjusted to follow the recent SemConv rules.

Merge requirement checklist