Linux Resource Monitoring has no option to emit values [0,100]
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
I'm a bot. Here is a possible related and/or duplicate issue (I may be wrong):
- https://github.com/dotnet/extensions/issues/6486