Skip to content
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

Include sensor elements in system metrics (hardware temperature, humidity, etc). #2340

Closed
odsod opened this issue Feb 14, 2022 · 1 comment
Closed
Assignees
Labels
spec:metrics Related to the specification/metrics directory

Comments

@odsod
Copy link

odsod commented Feb 14, 2022

What are you trying to achieve?

Trying to replace the Prometheus Node Exporter with the Host Metrics Receiver in an IoT edge environment where temperature monitoring in crucial.

What did you expect to see?

Expecting there to be rudimentary metrics for monitoring the hardware temperature of the host, like the node_hwmon_temp_celsius metrics from the Node Exporter.

Perhaps something like this:

system.sensor. - Sensor metrics

Description: System sensor element metrics.

Name Description Units Instrument Type Value Type Attribute Key(s) Attribute Values
system.sensor.temp C Asynchronous Gague Double element ...
system.sensor.humidity 1 Asynchronous Gauge Double element ...

Additional context.

See hwmon_linux.go for a reference implementation.

@odsod odsod added the spec:metrics Related to the specification/metrics directory label Feb 14, 2022
@odsod
Copy link
Author

odsod commented Oct 9, 2022

@bertysentry Huge thanks for taking this one all the way!

@odsod odsod closed this as completed Oct 9, 2022
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