prometheus-client-c icon indicating copy to clipboard operation
prometheus-client-c copied to clipboard

Add function to pass libmicrohttpd options when starting Prometheus listener

Open sysvinit opened this issue 4 years ago • 2 comments

This commit adds a new function, promhttp_start_daemon_with_options(), which exposes the variadic options interface of MHD_start_daemon() to applications using prometheus-client-c. This would allow applications to e.g. bind to a specific IP address instead of the wildcard address, which is the libmicrohttpd default.

sysvinit avatar Mar 16 '22 13:03 sysvinit

I think this is a great addition. I also need it!

ggarber avatar Aug 30 '22 21:08 ggarber

#79 enables a different approach: calling libmicrohttpd directly.

wferi avatar Apr 03 '23 08:04 wferi