Small Grant: hostd prometheus exporter

Hello. Thanks for a new request!

  1. This goes past the 10k limit for a small grant
  2. The foundation decided generally to not take on grants that require deep modifications to the base software, as we had one prometheus effort already and it ended badly. Prometheus: remove id label on hostd_consensus_state_index by bustedware · Pull Request #312 · SiaFoundation/hostd · GitHub. You might have gotten the idea from there? But you can find the communications on Standard Grant: Native prometheus endpoints for Sia services - #5 by steve.
  • I personally think this should be inside the core software and be something the core team handles later this year, if it has not already been done (and it looks like a lot was)? (Pull requests · SiaFoundation/hostd · GitHub). If you have something of value you can add on top, then go wild :)

And feel free to clarify if you think I missed or overlooked something.

Kudos.