Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
Prometheus general configuration. More...
#include <res_prometheus.h>
Data Fields | |
struct ast_string_field_mgr | __field_mgr |
struct ast_string_field_pool * | __field_mgr_pool |
The HTTP URI we register ourselves to. More... | |
const ast_string_field | auth_password |
const ast_string_field | auth_realm |
const ast_string_field | auth_username |
unsigned int | core_metrics_enabled |
Whether or not core metrics are enabled. More... | |
unsigned int | enabled |
Whether or not the module is enabled. More... | |
const ast_string_field | uri |
Prometheus general configuration.
While the config file should generally provide the configuration for this module, it is useful for testing purposes to allow the configuration to be injected into the module. This struct is public to allow this to occur.
Definition at line 68 of file res_prometheus.h.
struct ast_string_field_mgr __field_mgr |
Definition at line 82 of file res_prometheus.h.
struct ast_string_field_pool* __field_mgr_pool |
The HTTP URI we register ourselves to.
Auth username for Basic Auth
Auth password for Basic Auth
Auth realm
Definition at line 82 of file res_prometheus.h.
const ast_string_field auth_password |
Definition at line 82 of file res_prometheus.h.
Referenced by AST_TEST_DEFINE().
const ast_string_field auth_realm |
Definition at line 82 of file res_prometheus.h.
const ast_string_field auth_username |
Definition at line 82 of file res_prometheus.h.
Referenced by AST_TEST_DEFINE().
unsigned int core_metrics_enabled |
Whether or not core metrics are enabled.
Definition at line 72 of file res_prometheus.h.
unsigned int enabled |
Whether or not the module is enabled.
Definition at line 70 of file res_prometheus.h.
const ast_string_field uri |
Definition at line 82 of file res_prometheus.h.
Referenced by config_alloc().