28 #include "microhttpd.h" 47 struct MHD_Daemon *
promhttp_start_daemon(
unsigned int flags,
unsigned short port, MHD_AcceptPolicyCallback apc,
struct prom_collector_registry prom_collector_registry_t
A prom_registry_t is responsible for registering metrics and briding them to the string exposition fo...
Definition: prom_collector_registry.h:31
void promhttp_set_active_collector_registry(prom_collector_registry_t *active_registry)
Sets the active registry for metric scraping.
struct MHD_Daemon * promhttp_start_daemon(unsigned int flags, unsigned short port, MHD_AcceptPolicyCallback apc, void *apc_cls)
Starts a daemon in the background and returns a pointer to an HMD_Daemon.
The collector registry registers collectors for metric exposition.