central controller metrics & request path updates (#2012)
* internal db metrics * use shared mutexes for read/write locks * remove this lock. only used for a metric * more metrics * remove exploratory metrics place controller request benchmarks behind ifdef
This commit is contained in:
parent
da71e2524c
commit
17f6b3a10b
10 changed files with 307 additions and 80 deletions
|
@ -126,12 +126,26 @@ namespace ZeroTier {
|
|||
extern prometheus::simpleapi::gauge_metric_t network_config_request_queue_size;
|
||||
extern prometheus::simpleapi::counter_metric_t sso_expiration_checks;
|
||||
extern prometheus::simpleapi::counter_metric_t sso_member_deauth;
|
||||
extern prometheus::simpleapi::counter_metric_t network_config_request;
|
||||
extern prometheus::simpleapi::gauge_metric_t network_config_request_threads;
|
||||
|
||||
extern prometheus::simpleapi::counter_metric_t db_get_network;
|
||||
extern prometheus::simpleapi::counter_metric_t db_get_network_and_member;
|
||||
extern prometheus::simpleapi::counter_metric_t db_get_network_and_member_and_summary;
|
||||
extern prometheus::simpleapi::counter_metric_t db_get_member_list;
|
||||
extern prometheus::simpleapi::counter_metric_t db_get_network_list;
|
||||
extern prometheus::simpleapi::counter_metric_t db_member_change;
|
||||
extern prometheus::simpleapi::counter_metric_t db_network_change;
|
||||
|
||||
|
||||
#ifdef ZT_CONTROLLER_USE_LIBPQ
|
||||
// Central Controller Metrics
|
||||
extern prometheus::simpleapi::counter_metric_t pgsql_mem_notification;
|
||||
extern prometheus::simpleapi::counter_metric_t pgsql_net_notification;
|
||||
extern prometheus::simpleapi::counter_metric_t pgsql_node_checkin;
|
||||
extern prometheus::simpleapi::counter_metric_t pgsql_commit_ticks;
|
||||
extern prometheus::simpleapi::counter_metric_t db_get_sso_info;
|
||||
|
||||
extern prometheus::simpleapi::counter_metric_t redis_mem_notification;
|
||||
extern prometheus::simpleapi::counter_metric_t redis_net_notification;
|
||||
extern prometheus::simpleapi::counter_metric_t redis_node_checkin;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue