libprom
@VERSION@
C based libraries to expose metrics in Promtheus exposition format
|
Provides a HTTP endpoint for metric exposition References: More...
Go to the source code of this file.
Functions | |
void | promhttp_set_active_collector_registry (pcr_t *registry) |
Sets the active registry for metric scraping. More... | |
struct MHD_Daemon * | promhttp_start_daemon (unsigned int flags, unsigned short port, MHD_AcceptPolicyCallback apc, void *apc_cls) |
Start a daemon in the background and return a reference to it. More... | |
Provides a HTTP endpoint for metric exposition References:
void promhttp_set_active_collector_registry | ( | pcr_t * | registry | ) |
Sets the active registry for metric scraping.
registery | The target prom registry to generate the report to send in Prometheus exposition format. If NULL is passed, the default registry will be used. |
struct MHD_Daemon* promhttp_start_daemon | ( | unsigned int | flags, |
unsigned short | port, | ||
MHD_AcceptPolicyCallback | apc, | ||
void * | apc_cls | ||
) |
Start a daemon in the background and return a reference to it.
References: