|
prometheus-client-c
0.1.1
Prometheus client for the C programming language
|
Provides a HTTP endpoint for metric exposition References: More...

Go to the source code of this file.
Functions | |
| void | promhttp_set_active_collector_registry (prom_collector_registry_t *active_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) |
| Starts a daemon in the background and returns a pointer to an HMD_Daemon. More... | |
Provides a HTTP endpoint for metric exposition References:
| void promhttp_set_active_collector_registry | ( | prom_collector_registry_t * | active_registry | ) |
Sets the active registry for metric scraping.
| active_registery | The target prom_collector_registry_t*. If null is passed, the default registry is used. The registry MUST be initialized. |
| 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.
References:
1.8.13