kashalls / kromgo

Easily expose preconfigured prometheus metrics to the outside using badges.
51 stars 2 forks source link

Add support for fetching the value of a query's label, default endpoint instead of raw, load config properly and more. #16

Closed kashalls closed 4 months ago

kashalls commented 4 months ago

This PR solves #7 and #11.

This PR also fixes an issue if the config is not loaded correctly and we try to read from it before error-ing out.

This also fixes an deprecation of ioutil.

cc @onedr0p