Asterisk - The Open Source Telephony Project
18.5.0
|
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 |
const ast_string_field | auth_password |
Auth password for Basic Auth. More... | |
const ast_string_field | auth_realm |
Auth realm. More... | |
const ast_string_field | auth_username |
Auth username for Basic Auth. More... | |
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 |
The HTTP URI we register ourselves to. More... | |
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 69 of file res_prometheus.h.
struct ast_string_field_mgr __field_mgr |
Definition at line 83 of file res_prometheus.h.
struct ast_string_field_pool* __field_mgr_pool |
Definition at line 83 of file res_prometheus.h.
const ast_string_field auth_password |
Auth password for Basic Auth.
Definition at line 83 of file res_prometheus.h.
Referenced by AST_TEST_DEFINE().
const ast_string_field auth_realm |
Auth realm.
Definition at line 83 of file res_prometheus.h.
const ast_string_field auth_username |
Auth username for Basic Auth.
Definition at line 83 of file res_prometheus.h.
Referenced by AST_TEST_DEFINE(), and prometheus_show_status().
unsigned int core_metrics_enabled |
Whether or not core metrics are enabled.
Definition at line 73 of file res_prometheus.h.
Referenced by AST_TEST_DEFINE(), and config_alloc().
unsigned int enabled |
Whether or not the module is enabled.
Definition at line 71 of file res_prometheus.h.
Referenced by AST_TEST_DEFINE(), config_alloc(), and prometheus_show_status().
const ast_string_field uri |
The HTTP URI we register ourselves to.
Definition at line 83 of file res_prometheus.h.
Referenced by config_alloc(), and prometheus_show_status().