MCPcopy Create free account
hub / github.com/apache/trafficserver / register_stat_callbacks

Function register_stat_callbacks

src/proxy/http/HttpConfig.cc:269–638  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267}
268
269void
270register_stat_callbacks()
271{
272 http_rsb.background_fill_bytes_aborted = Metrics::Counter::createPtr("proxy.process.http.background_fill_bytes_aborted");
273 http_rsb.background_fill_bytes_completed = Metrics::Counter::createPtr("proxy.process.http.background_fill_bytes_completed");
274 http_rsb.background_fill_current_count = Metrics::Gauge::createPtr("proxy.process.http.background_fill_current_count");
275 http_rsb.background_fill_total_count = Metrics::Counter::createPtr("proxy.process.http.background_fill_total_count");
276 http_rsb.broken_server_connections = Metrics::Counter::createPtr("proxy.process.http.broken_server_connections");
277 http_rsb.cache_deletes = Metrics::Counter::createPtr("proxy.process.http.cache_deletes");
278 http_rsb.cache_hit_fresh = Metrics::Counter::createPtr("proxy.process.http.cache_hit_fresh");
279 http_rsb.cache_hit_ims = Metrics::Counter::createPtr("proxy.process.http.cache_hit_ims");
280 http_rsb.cache_hit_mem_fresh = Metrics::Counter::createPtr("proxy.process.http.cache_hit_mem_fresh");
281 http_rsb.cache_hit_reval = Metrics::Counter::createPtr("proxy.process.http.cache_hit_revalidated");
282 http_rsb.cache_hit_rww = Metrics::Counter::createPtr("proxy.process.http.cache_hit_rww");
283 http_rsb.cache_hit_stale_served = Metrics::Counter::createPtr("proxy.process.http.cache_hit_stale_served");
284 http_rsb.cache_lookups = Metrics::Counter::createPtr("proxy.process.http.cache_lookups");
285 http_rsb.cache_miss_changed = Metrics::Counter::createPtr("proxy.process.http.cache_miss_changed");
286 http_rsb.cache_miss_client_no_cache = Metrics::Counter::createPtr("proxy.process.http.cache_miss_client_no_cache");
287 http_rsb.cache_miss_cold = Metrics::Counter::createPtr("proxy.process.http.cache_miss_cold");
288 http_rsb.cache_miss_ims = Metrics::Counter::createPtr("proxy.process.http.cache_miss_ims");
289 http_rsb.cache_miss_uncacheable = Metrics::Counter::createPtr("proxy.process.http.cache_miss_client_not_cacheable");
290 http_rsb.cache_open_read_begin_time = Metrics::Counter::createPtr("proxy.process.http.milestone.cache_open_read_begin");
291 http_rsb.cache_open_read_end_time = Metrics::Counter::createPtr("proxy.process.http.milestone.cache_open_read_end");
292 http_rsb.cache_open_write_adjust_thread = Metrics::Counter::createPtr("proxy.process.http.cache.open_write.adjust_thread");
293 http_rsb.cache_open_write_begin_time = Metrics::Counter::createPtr("proxy.process.http.milestone.cache_open_write_begin");
294 http_rsb.cache_open_write_end_time = Metrics::Counter::createPtr("proxy.process.http.milestone.cache_open_write_end");
295 http_rsb.cache_open_write_fail_count = Metrics::Counter::createPtr("proxy.process.http.cache_open_write_fail_count");
296 http_rsb.cache_read_error = Metrics::Counter::createPtr("proxy.process.http.cache_read_error");
297 http_rsb.cache_read_errors = Metrics::Counter::createPtr("proxy.process.http.cache_read_errors");
298 http_rsb.cache_updates = Metrics::Counter::createPtr("proxy.process.http.cache_updates");
299 http_rsb.cache_write_errors = Metrics::Counter::createPtr("proxy.process.http.cache_write_errors");
300 http_rsb.cache_writes = Metrics::Counter::createPtr("proxy.process.http.cache_writes");
301 http_rsb.completed_requests = Metrics::Counter::createPtr("proxy.process.http.completed_requests");
302 http_rsb.connect_requests = Metrics::Counter::createPtr("proxy.process.http.connect_requests");
303 http_rsb.current_active_client_connections = Metrics::Gauge::createPtr("proxy.process.http.current_active_client_connections");
304 http_rsb.current_cache_connections = Metrics::Gauge::createPtr("proxy.process.http.current_cache_connections");
305 http_rsb.current_client_connections = Metrics::Gauge::createPtr("proxy.process.http.current_client_connections");
306 http_rsb.current_client_transactions = Metrics::Gauge::createPtr("proxy.process.http.current_client_transactions");
307 http_rsb.current_parent_proxy_connections = Metrics::Gauge::createPtr("proxy.process.http.current_parent_proxy_connections");
308 http_rsb.current_server_connections = Metrics::Gauge::createPtr("proxy.process.http.current_server_connections");
309 http_rsb.current_server_transactions = Metrics::Gauge::createPtr("proxy.process.http.current_server_transactions");
310 http_rsb.delete_requests = Metrics::Counter::createPtr("proxy.process.http.delete_requests");
311 http_rsb.disallowed_post_100_continue = Metrics::Counter::createPtr("proxy.process.http.disallowed_post_100_continue");
312 http_rsb.dns_lookup_begin_time = Metrics::Counter::createPtr("proxy.process.http.milestone.dns_lookup_begin");
313 http_rsb.dns_lookup_end_time = Metrics::Counter::createPtr("proxy.process.http.milestone.dns_lookup_end");
314 http_rsb.down_server_no_requests = Metrics::Counter::createPtr("proxy.process.http.down_server.no_requests");
315 http_rsb.err_client_abort_count = Metrics::Counter::createPtr("proxy.process.http.err_client_abort_count");
316 http_rsb.err_client_abort_origin_server_bytes =
317 Metrics::Counter::createPtr("proxy.process.http.err_client_abort_origin_server_bytes");
318 http_rsb.err_client_abort_user_agent_bytes = Metrics::Counter::createPtr("proxy.process.http.err_client_abort_user_agent_bytes");
319 http_rsb.err_client_read_error_count = Metrics::Counter::createPtr("proxy.process.http.err_client_read_error_count");
320 http_rsb.err_client_read_error_origin_server_bytes =
321 Metrics::Counter::createPtr("proxy.process.http.err_client_read_error_origin_server_bytes");
322 http_rsb.err_client_read_error_user_agent_bytes =
323 Metrics::Counter::createPtr("proxy.process.http.err_client_read_error_user_agent_bytes");
324 http_rsb.err_connect_fail_count = Metrics::Counter::createPtr("proxy.process.http.err_connect_fail_count");
325 http_rsb.err_connect_fail_origin_server_bytes =
326 Metrics::Counter::createPtr("proxy.process.http.err_connect_fail_origin_server_bytes");

Callers 2

startupMethod · 0.85
initMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected