open-telemetry / semantic-conventions

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

Add system.entropy metrics #1288

Open rogercoll opened 1 month ago

rogercoll commented 1 month ago

Area(s)

area:system

Is your change request related to a problem? Please describe.

The available entropy in a system is normally monitored by cryptographic applications in order to ensure the integrity of random numbers generation.

On Linux and MacOS systems, this information can be retrieved from a file (e.g /proc/sys/kernel/random/entropy_avail), the proposed metrics would reflect all the available information about the "system entropy".

OpenTelemetry Collector Contrib issue: https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/34220

Metricbeat current metrics: https://www.elastic.co/guide/en/beats/metricbeat/current/exported-fields-system.html#_entropy_2

Describe the solution you'd like

Describe alternatives you've considered

No response

Additional context

No response