Skip to content

Conversation

@derrick-dacosta
Copy link

sample output when testing against the dmtf redfish-mockup-server

$ curl 'http://localhost:10023/scrape?model=dmtf-mock&target=localhost:8000'
# HELP redfish_cpu_status Current cpu status 1 = OK, 0 = BAD
# TYPE redfish_cpu_status gauge
redfish_cpu_status{chassisModel="dmtf-mock",chassisSerialNumber="437XR1138R2",id="CPU1",model="Multi-Core Intel(R) Xeon(R) processor 7xxx Series",socket="CPU 1",totalCores="8"} 1
redfish_cpu_status{chassisModel="dmtf-mock",chassisSerialNumber="437XR1138R2",id="FPGA1",model="Stratix 10",socket="",totalCores=""} 1
# HELP redfish_device_info Current snapshot of device firmware information
# TYPE redfish_device_info gauge
redfish_device_info{biosVersion="P79 v1.45 (12/06/2017)",chassisModel="dmtf-mock",chassisSerialNumber="437XR1138R2",firmwareVersion="1.45.455b66-rev4",name="web483"} 1
# HELP redfish_memory_dimm_status Current dimm status 1 = OK, 0 = BAD
# TYPE redfish_memory_dimm_status gauge
redfish_memory_dimm_status{capacityMiB="32768",chassisModel="dmtf-mock",chassisSerialNumber="437XR1138R2",manufacturer="",name="DIMM Slot 1",partNumber=""} 1
redfish_memory_dimm_status{capacityMiB="32768",chassisModel="dmtf-mock",chassisSerialNumber="437XR1138R2",manufacturer="",name="DIMM Slot 2",partNumber=""} 1
redfish_memory_dimm_status{capacityMiB="32768",chassisModel="dmtf-mock",chassisSerialNumber="437XR1138R2",manufacturer="",name="DIMM Slot 3",partNumber=""} 1
# HELP redfish_memory_status Current memory status 1 = OK, 0 = BAD
# TYPE redfish_memory_status gauge
redfish_memory_status{chassisModel="dmtf-mock",chassisSerialNumber="437XR1138R2",totalSystemMemoryGiB="96"} 1
# HELP redfish_power_supply_output Power supply output in watts
# TYPE redfish_power_supply_output gauge
redfish_power_supply_output{bayNumber="0",chassisModel="dmtf-mock",chassisSerialNumber="437XR1138R2",firmwareVersion="1.00",manufacturer="ManufacturerName",model="499253-B21",name="Power Supply Bay",powerSupplyType="AC",serialNumber="1Z0000001"} 325
# HELP redfish_power_supply_status Current power supply status 1 = OK, 0 = BAD
# TYPE redfish_power_supply_status gauge
redfish_power_supply_status{bayNumber="0",chassisModel="dmtf-mock",chassisSerialNumber="437XR1138R2",firmwareVersion="1.00",manufacturer="ManufacturerName",model="499253-B21",name="Power Supply Bay",powerSupplyType="AC",serialNumber="1Z0000001"} 0
# HELP redfish_power_supply_total_consumed Total output of all power supplies in watts
# TYPE redfish_power_supply_total_consumed gauge
redfish_power_supply_total_consumed{chassisModel="dmtf-mock",chassisSerialNumber="437XR1138R2",memberId="/redfish/v1/Chassis/1U/Power"} 344
# HELP redfish_power_voltage_output Power voltage output in watts
# TYPE redfish_power_voltage_output gauge
redfish_power_voltage_output{chassisModel="dmtf-mock",chassisSerialNumber="437XR1138R2",name="VRM1 Voltage"} 12
redfish_power_voltage_output{chassisModel="dmtf-mock",chassisSerialNumber="437XR1138R2",name="VRM2 Voltage"} 5
# HELP redfish_power_voltage_status Current power voltage status 1 = OK, 0 = BAD
# TYPE redfish_power_voltage_status gauge
redfish_power_voltage_status{chassisModel="dmtf-mock",chassisSerialNumber="437XR1138R2",name="VRM1 Voltage"} 1
redfish_power_voltage_status{chassisModel="dmtf-mock",chassisSerialNumber="437XR1138R2",name="VRM2 Voltage"} 1
# HELP redfish_thermal_fan_speed Current fan speed in the unit of percentage, possible values are 0 - 100
# TYPE redfish_thermal_fan_speed gauge
redfish_thermal_fan_speed{chassisModel="dmtf-mock",chassisSerialNumber="437XR1138R2",name="BaseBoard System Fan"} 2100
redfish_thermal_fan_speed{chassisModel="dmtf-mock",chassisSerialNumber="437XR1138R2",name="BaseBoard System Fan Backup"} 2050
# HELP redfish_thermal_fan_status Current fan status 1 = OK, 0 = BAD
# TYPE redfish_thermal_fan_status gauge
redfish_thermal_fan_status{chassisModel="dmtf-mock",chassisSerialNumber="437XR1138R2",name="BaseBoard System Fan"} 1
redfish_thermal_fan_status{chassisModel="dmtf-mock",chassisSerialNumber="437XR1138R2",name="BaseBoard System Fan Backup"} 1
# HELP redfish_thermal_sensor_status Current sensor status 1 = OK, 0 = BAD
# TYPE redfish_thermal_sensor_status gauge
redfish_thermal_sensor_status{chassisModel="dmtf-mock",chassisSerialNumber="437XR1138R2",name="CPU1 Temp"} 1
redfish_thermal_sensor_status{chassisModel="dmtf-mock",chassisSerialNumber="437XR1138R2",name="Chassis Intake Temp"} 1
# HELP redfish_thermal_sensor_temperature Current sensor temperature reading in Celsius
# TYPE redfish_thermal_sensor_temperature gauge
redfish_thermal_sensor_temperature{chassisModel="dmtf-mock",chassisSerialNumber="437XR1138R2",name="CPU1 Temp"} 41
redfish_thermal_sensor_temperature{chassisModel="dmtf-mock",chassisSerialNumber="437XR1138R2",name="Chassis Intake Temp"} 25
# HELP redfish_up was the last scrape of fishymetrics successful.
# TYPE redfish_up gauge
redfish_up 1

@juliusv
Copy link
Member

juliusv commented Jun 4, 2025

Thanks, and sorry that nobody took a look at the PR! Could you rebase it on top of the latest main, where the docs files now live under docs/... instead of content/docs/...?

About the metrics: would be nice to add some unit suffixes, where applicable. For example, for fan speed (_rpm?) and temperature metrics (_celsius I guess?), and I guess power would be in Watts, etc. See also https://prometheus.io/docs/practices/naming/

@jan--f jan--f added the kind/exporter-addition Adding exporters/integrations to lists label Dec 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/exporter-addition Adding exporters/integrations to lists

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants