u-root / u-bmc

Open-source firmware for your baseboard management controller (BMC)
https://u-bmc.readthedocs.io
BSD 3-Clause "New" or "Revised" License
275 stars 32 forks source link

OpenMetrics exporter #44

Closed bluecmd closed 5 years ago

bluecmd commented 6 years ago

Link in the https://github.com/prometheus/client_golang library and export metrics.

I've allocated 9370 in https://github.com/prometheus/prometheus/wiki/Default-port-allocations. It is also free in the IANA port assignment list it seems, if we want to get really serious about it.

Some metrics that I'm thinking that is needed:

A lot of things in the list is doable straight away.

bluecmd commented 5 years ago

Another one: "Get Version ID" from NCSI.

bluecmd commented 5 years ago

I'm going to consider this done and we can just add metrics one by one and track them as individual features as we go along.