jenningsloy318 / redfish_exporter

exporter to get metrics from redfish based hardware such as lenovo/dell/superc servers
Apache License 2.0
70 stars 62 forks source link

Endpoint to trigger configuration reload #35

Closed mehyedes closed 2 years ago

mehyedes commented 2 years ago

Hi,

I see it is possible to trigger a configuration reload by sending a SIGHUP to the process.

I think adding an HTTP endpoint for reloading the configuration like /-/reload for prometheus would be also useful IMO.

If you agree, I could work on adding this feature myself.

jenningsloy318 commented 2 years ago

Hi @mehyedes

Thanks for your enthusiasm, any contribution is welcome. and you can go ahead add this feature.

Thanks

mehyedes commented 2 years ago

Great, thanks. I'll get working on that and submit a PR as soon as it's ready.