Skip to content

Linux Resource Monitoring has no option to emit values [0,100] #7124

@amadeuszl

Description

@amadeuszl

Description

Different metric exporters may not support fractional numbers, but the Linux utilization metrics are fractional and emit values [0, 1], thus people using other exporters than OpenTelemetry will find those metrics not working properly as values will be rounded to 0.

Solution:
Add a flag similar to the one in Windows to multiply results by 100.

Consider precision to 1000.

Reproduction Steps

Emit metrics in systems different than OpenTelemetry

Expected behavior

if you have 50% utilization it should return 50, not 0.5

Actual behavior

if you have 50% utilization it return 0.5

Regression?

No

Known Workarounds

You can intercept metrics and multiply and reemit locally

Configuration

No response

Other information

No response

Metadata

Metadata

Assignees

Labels

area-resourcemonitoringbugThis issue describes a behavior which is not expected - a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions