6f1a6b50dc51d0be8f4f4ab577f80a9dc580541d
LibreHardwareMonitor Exporter
Minimal Prometheus exporter using LibreHardwareMonitorLib to expose basic hardware metrics (CPU, GPU, memory, motherboard, network, storage).
Run
- Build and run the console app.
- Endpoint:
http://localhost:9646/metrics(setPORTenv var to change port) - Some sensors may require administrator privileges.
Prometheus scrape config
scrape_configs:
- job_name: lhm_exporter
static_configs:
- targets: ['localhost:9646']
Metrics
Exports gauges like:
lhm_temperature_celsiuslhm_load_percentlhm_clock_mhzlhm_power_wattslhm_fan_rpmlhm_voltage_volts
Each metric includes hardware and sensor labels.
Upstream library
Powered by LibreHardwareMonitor: GitHub repository
Description