@@ -64,7 +64,7 @@ struct HttpStatsBlock {
6464 // Need two stats for these for counts and times
6565 Metrics::Counter::AtomicType *background_fill_bytes_aborted;
6666 Metrics::Counter::AtomicType *background_fill_bytes_completed;
67- Metrics::Counter ::AtomicType *background_fill_current_count;
67+ Metrics::Gauge ::AtomicType *background_fill_current_count;
6868 Metrics::Counter::AtomicType *background_fill_total_count;
6969 Metrics::Counter::AtomicType *broken_server_connections;
7070 Metrics::Counter::AtomicType *cache_deletes;
@@ -92,13 +92,13 @@ struct HttpStatsBlock {
9292 Metrics::Counter::AtomicType *cache_writes;
9393 Metrics::Counter::AtomicType *completed_requests;
9494 Metrics::Counter::AtomicType *connect_requests;
95- Metrics::Counter ::AtomicType *current_active_client_connections;
96- Metrics::Counter ::AtomicType *current_cache_connections;
97- Metrics::Counter ::AtomicType *current_client_connections;
98- Metrics::Counter ::AtomicType *current_client_transactions;
99- Metrics::Counter ::AtomicType *current_parent_proxy_connections;
100- Metrics::Counter ::AtomicType *current_server_connections;
101- Metrics::Counter ::AtomicType *current_server_transactions;
95+ Metrics::Gauge ::AtomicType *current_active_client_connections;
96+ Metrics::Gauge ::AtomicType *current_cache_connections;
97+ Metrics::Gauge ::AtomicType *current_client_connections;
98+ Metrics::Gauge ::AtomicType *current_client_transactions;
99+ Metrics::Gauge ::AtomicType *current_parent_proxy_connections;
100+ Metrics::Gauge ::AtomicType *current_server_connections;
101+ Metrics::Gauge ::AtomicType *current_server_transactions;
102102 Metrics::Counter::AtomicType *delete_requests;
103103 Metrics::Counter::AtomicType *disallowed_post_100_continue;
104104 Metrics::Counter::AtomicType *dns_lookup_begin_time;
@@ -164,7 +164,7 @@ struct HttpStatsBlock {
164164 Metrics::Counter::AtomicType *parent_proxy_request_total_bytes;
165165 Metrics::Counter::AtomicType *parent_proxy_response_total_bytes;
166166 Metrics::Counter::AtomicType *parent_proxy_transaction_time;
167- Metrics::Counter ::AtomicType *pooled_server_connections;
167+ Metrics::Gauge ::AtomicType *pooled_server_connections;
168168 Metrics::Counter::AtomicType *post_body_too_large;
169169 Metrics::Counter::AtomicType *post_requests;
170170 Metrics::Counter::AtomicType *proxy_loop_detected;
@@ -265,7 +265,7 @@ struct HttpStatsBlock {
265265 Metrics::Counter::AtomicType *total_transactions_time;
266266 Metrics::Counter::AtomicType *total_x_redirect;
267267 Metrics::Counter::AtomicType *trace_requests;
268- Metrics::Counter ::AtomicType *tunnel_current_active_connections;
268+ Metrics::Gauge ::AtomicType *tunnel_current_active_connections;
269269 Metrics::Counter::AtomicType *tunnels;
270270 Metrics::Counter::AtomicType *ua_begin_time;
271271 Metrics::Counter::AtomicType *ua_begin_write_time;
@@ -302,7 +302,7 @@ struct HttpStatsBlock {
302302 Metrics::Counter::AtomicType *user_agent_request_header_total_size;
303303 Metrics::Counter::AtomicType *user_agent_response_document_total_size;
304304 Metrics::Counter::AtomicType *user_agent_response_header_total_size;
305- Metrics::Counter ::AtomicType *websocket_current_active_client_connections;
305+ Metrics::Gauge ::AtomicType *websocket_current_active_client_connections;
306306};
307307
308308enum CacheOpenWriteFailAction_t {
0 commit comments