From 0149a9b87b69c4671a4aa128b928d574f67a51c3 Mon Sep 17 00:00:00 2001 From: Leif Hedstrom Date: Thu, 14 Sep 2023 12:49:49 -0600 Subject: [PATCH] This drops the _stat suffix from some metrics --- .../statistics/core/cache-volume.en.rst | 3 +- .../monitoring/statistics/core/cache.en.rst | 54 ++-- .../statistics/core/http-connection.en.rst | 20 +- .../monitoring/statistics/core/misc.en.rst | 4 +- iocore/net/SSLStats.cc | 4 +- proxy/http/HttpConfig.cc | 304 +++++++++--------- 6 files changed, 193 insertions(+), 196 deletions(-) diff --git a/doc/admin-guide/monitoring/statistics/core/cache-volume.en.rst b/doc/admin-guide/monitoring/statistics/core/cache-volume.en.rst index 64a975517bd..40fd3308b57 100644 --- a/doc/admin-guide/monitoring/statistics/core/cache-volume.en.rst +++ b/doc/admin-guide/monitoring/statistics/core/cache-volume.en.rst @@ -193,7 +193,7 @@ a configuration with only one cache volume: :literal:`0`. .. ts:stat:: global proxy.process.cache.volume_0.write.backlog.failure integer :type: counter -.. ts:stat:: global proxy.process.cache.volume_0.write_bytes_stat integer +.. ts:stat:: global proxy.process.cache.volume_0.write_bytes integer :type: counter :units: bytes :ungathered: @@ -203,4 +203,3 @@ a configuration with only one cache volume: :literal:`0`. .. ts:stat:: global proxy.process.cache.volume_0.write.success integer :type: counter - diff --git a/doc/admin-guide/monitoring/statistics/core/cache.en.rst b/doc/admin-guide/monitoring/statistics/core/cache.en.rst index bf846233954..31a355b8ba2 100644 --- a/doc/admin-guide/monitoring/statistics/core/cache.en.rst +++ b/doc/admin-guide/monitoring/statistics/core/cache.en.rst @@ -126,7 +126,7 @@ Cache .. ts:stat:: global proxy.process.cache.vector_marshals integer .. ts:stat:: global proxy.process.cache.write.active integer .. ts:stat:: global proxy.process.cache.write.backlog.failure integer -.. ts:stat:: global proxy.process.cache.write_bytes_stat integer +.. ts:stat:: global proxy.process.cache.write_bytes integer .. ts:stat:: global proxy.process.cache.write.failure integer .. ts:stat:: global proxy.process.cache.write.success integer @@ -157,10 +157,10 @@ Cache `proxy.process.cache.span.failing` + `proxy.process.cache.span.offline` + `proxy.process.cache.span.online` = total number of spans. -.. ts:stat:: global proxy.process.http.background_fill_bytes_aborted_stat integer +.. ts:stat:: global proxy.process.http.background_fill_bytes_aborted integer :ungathered: -.. ts:stat:: global proxy.process.http.background_fill_bytes_completed_stat integer +.. ts:stat:: global proxy.process.http.background_fill_bytes_completed integer :ungathered: .. ts:stat:: global proxy.process.http.background_fill_current_count integer @@ -193,39 +193,39 @@ Cache .. ts:stat:: global proxy.process.http.cache_updates integer .. ts:stat:: global proxy.process.http.cache_write_errors integer .. ts:stat:: global proxy.process.http.cache_writes integer -.. ts:stat:: global proxy.process.http.tcp_client_refresh_count_stat integer +.. ts:stat:: global proxy.process.http.tcp_client_refresh_count integer :ungathered: -.. ts:stat:: global proxy.process.http.tcp_client_refresh_origin_server_bytes_stat integer +.. ts:stat:: global proxy.process.http.tcp_client_refresh_origin_server_bytes integer :ungathered: -.. ts:stat:: global proxy.process.http.tcp_client_refresh_user_agent_bytes_stat integer +.. ts:stat:: global proxy.process.http.tcp_client_refresh_user_agent_bytes integer :ungathered: -.. ts:stat:: global proxy.process.http.tcp_expired_miss_count_stat integer +.. ts:stat:: global proxy.process.http.tcp_expired_miss_count integer :ungathered: -.. ts:stat:: global proxy.process.http.tcp_expired_miss_origin_server_bytes_stat integer +.. ts:stat:: global proxy.process.http.tcp_expired_miss_origin_server_bytes integer :ungathered: -.. ts:stat:: global proxy.process.http.tcp_expired_miss_user_agent_bytes_stat integer +.. ts:stat:: global proxy.process.http.tcp_expired_miss_user_agent_bytes integer :ungathered: -.. ts:stat:: global proxy.process.http.tcp_hit_count_stat integer -.. ts:stat:: global proxy.process.http.tcp_hit_origin_server_bytes_stat integer -.. ts:stat:: global proxy.process.http.tcp_hit_user_agent_bytes_stat integer -.. ts:stat:: global proxy.process.http.tcp_ims_hit_count_stat integer -.. ts:stat:: global proxy.process.http.tcp_ims_hit_origin_server_bytes_stat integer -.. ts:stat:: global proxy.process.http.tcp_ims_hit_user_agent_bytes_stat integer -.. ts:stat:: global proxy.process.http.tcp_ims_miss_count_stat integer -.. ts:stat:: global proxy.process.http.tcp_ims_miss_origin_server_bytes_stat integer -.. ts:stat:: global proxy.process.http.tcp_ims_miss_user_agent_bytes_stat integer -.. ts:stat:: global proxy.process.http.tcp_miss_count_stat integer -.. ts:stat:: global proxy.process.http.tcp_miss_origin_server_bytes_stat integer -.. ts:stat:: global proxy.process.http.tcp_miss_user_agent_bytes_stat integer -.. ts:stat:: global proxy.process.http.tcp_refresh_hit_count_stat integer -.. ts:stat:: global proxy.process.http.tcp_refresh_hit_origin_server_bytes_stat integer -.. ts:stat:: global proxy.process.http.tcp_refresh_hit_user_agent_bytes_stat integer -.. ts:stat:: global proxy.process.http.tcp_refresh_miss_count_stat integer -.. ts:stat:: global proxy.process.http.tcp_refresh_miss_origin_server_bytes_stat integer -.. ts:stat:: global proxy.process.http.tcp_refresh_miss_user_agent_bytes_stat integer +.. ts:stat:: global proxy.process.http.tcp_hit_count integer +.. ts:stat:: global proxy.process.http.tcp_hit_origin_server_bytes integer +.. ts:stat:: global proxy.process.http.tcp_hit_user_agent_bytes integer +.. ts:stat:: global proxy.process.http.tcp_ims_hit_count integer +.. ts:stat:: global proxy.process.http.tcp_ims_hit_origin_server_bytes integer +.. ts:stat:: global proxy.process.http.tcp_ims_hit_user_agent_bytes integer +.. ts:stat:: global proxy.process.http.tcp_ims_miss_count integer +.. ts:stat:: global proxy.process.http.tcp_ims_miss_origin_server_bytes integer +.. ts:stat:: global proxy.process.http.tcp_ims_miss_user_agent_bytes integer +.. ts:stat:: global proxy.process.http.tcp_miss_count integer +.. ts:stat:: global proxy.process.http.tcp_miss_origin_server_bytes integer +.. ts:stat:: global proxy.process.http.tcp_miss_user_agent_bytes integer +.. ts:stat:: global proxy.process.http.tcp_refresh_hit_count integer +.. ts:stat:: global proxy.process.http.tcp_refresh_hit_origin_server_bytes integer +.. ts:stat:: global proxy.process.http.tcp_refresh_hit_user_agent_bytes integer +.. ts:stat:: global proxy.process.http.tcp_refresh_miss_count integer +.. ts:stat:: global proxy.process.http.tcp_refresh_miss_origin_server_bytes integer +.. ts:stat:: global proxy.process.http.tcp_refresh_miss_user_agent_bytes integer diff --git a/doc/admin-guide/monitoring/statistics/core/http-connection.en.rst b/doc/admin-guide/monitoring/statistics/core/http-connection.en.rst index c11d5c7bf20..e19295a4e74 100644 --- a/doc/admin-guide/monitoring/statistics/core/http-connection.en.rst +++ b/doc/admin-guide/monitoring/statistics/core/http-connection.en.rst @@ -66,43 +66,43 @@ HTTP Connection .. ts:stat:: global proxy.process.http.current_server_transactions integer :type: gauge -.. ts:stat:: global proxy.process.http.err_client_abort_count_stat integer +.. ts:stat:: global proxy.process.http.err_client_abort_count integer :type: counter -.. ts:stat:: global proxy.process.http.err_client_abort_origin_server_bytes_stat integer +.. ts:stat:: global proxy.process.http.err_client_abort_origin_server_bytes integer :type: counter :units: bytes -.. ts:stat:: global proxy.process.http.err_client_abort_user_agent_bytes_stat integer +.. ts:stat:: global proxy.process.http.err_client_abort_user_agent_bytes integer :type: counter :units: bytes -.. ts:stat:: global proxy.process.http.err_client_read_error_count_stat integer +.. ts:stat:: global proxy.process.http.err_client_read_error_count integer :type: counter -.. ts:stat:: global proxy.process.http.err_client_read_error_origin_server_bytes_stat integer +.. ts:stat:: global proxy.process.http.err_client_read_error_origin_server_bytes integer :type: counter :units: bytes -.. ts:stat:: global proxy.process.http.err_client_read_error_user_agent_bytes_stat integer +.. ts:stat:: global proxy.process.http.err_client_read_error_user_agent_bytes integer :type: counter :units: bytes -.. ts:stat:: global proxy.process.http.err_connect_fail_count_stat integer +.. ts:stat:: global proxy.process.http.err_connect_fail_count integer :type: counter :ungathered: -.. ts:stat:: global proxy.process.http.err_connect_fail_origin_server_bytes_stat integer +.. ts:stat:: global proxy.process.http.err_connect_fail_origin_server_bytes integer :type: counter :units: bytes :ungathered: -.. ts:stat:: global proxy.process.http.err_connect_fail_user_agent_bytes_stat integer +.. ts:stat:: global proxy.process.http.err_connect_fail_user_agent_bytes integer :type: counter :units: bytes :ungathered: -.. ts:stat:: global proxy.process.http.http_misc_origin_server_bytes_stat integer +.. ts:stat:: global proxy.process.http.http_misc_origin_server_bytes integer :type: counter :units: bytes diff --git a/doc/admin-guide/monitoring/statistics/core/misc.en.rst b/doc/admin-guide/monitoring/statistics/core/misc.en.rst index c5543652c29..9296a09311f 100644 --- a/doc/admin-guide/monitoring/statistics/core/misc.en.rst +++ b/doc/admin-guide/monitoring/statistics/core/misc.en.rst @@ -22,5 +22,5 @@ Miscellaneous ************* -.. ts:stat:: global proxy.process.http.misc_count_stat integer -.. ts:stat:: global proxy.process.http.misc_user_agent_bytes_stat integer +.. ts:stat:: global proxy.process.http.misc_count integer +.. ts:stat:: global proxy.process.http.misc_user_agent_bytes integer diff --git a/iocore/net/SSLStats.cc b/iocore/net/SSLStats.cc index 25d065b1fe9..daac7be25ee 100644 --- a/iocore/net/SSLStats.cc +++ b/iocore/net/SSLStats.cc @@ -96,8 +96,8 @@ SSLInitializeStatistics() ssl_rsb.error_syscall = intm.newMetricPtr("proxy.process.ssl.ssl_error_syscall"); ssl_rsb.ocsp_refresh_cert_failure = intm.newMetricPtr("proxy.process.ssl.ssl_ocsp_refresh_cert_failure"); ssl_rsb.ocsp_refreshed_cert = intm.newMetricPtr("proxy.process.ssl.ssl_ocsp_refreshed_cert"); - ssl_rsb.ocsp_revoked_cert = intm.newMetricPtr("proxy.process.ssl.ssl_ocsp_revoked_cert_stat"); - ssl_rsb.ocsp_unknown_cert = intm.newMetricPtr("proxy.process.ssl.ssl_ocsp_unknown_cert_stat"); + ssl_rsb.ocsp_revoked_cert = intm.newMetricPtr("proxy.process.ssl.ssl_ocsp_revoked_cert"); + ssl_rsb.ocsp_unknown_cert = intm.newMetricPtr("proxy.process.ssl.ssl_ocsp_unknown_cert"); ssl_rsb.origin_server_bad_cert = intm.newMetricPtr("proxy.process.ssl.origin_server_bad_cert"); ssl_rsb.origin_server_cert_verify_failed = intm.newMetricPtr("proxy.process.ssl.origin_server_cert_verify_failed"); ssl_rsb.origin_server_decryption_failed = intm.newMetricPtr("proxy.process.ssl.origin_server_decryption_failed"); diff --git a/proxy/http/HttpConfig.cc b/proxy/http/HttpConfig.cc index 6dfcc3dc73c..03298ce70b4 100644 --- a/proxy/http/HttpConfig.cc +++ b/proxy/http/HttpConfig.cc @@ -298,8 +298,8 @@ register_stat_callbacks() { ts::Metrics &intm = ts::Metrics::getInstance(); - http_rsb.background_fill_bytes_aborted = intm.newMetricPtr("proxy.process.http.background_fill_bytes_aborted_stat"); - http_rsb.background_fill_bytes_completed = intm.newMetricPtr("proxy.process.http.background_fill_bytes_completed_stat"); + http_rsb.background_fill_bytes_aborted = intm.newMetricPtr("proxy.process.http.background_fill_bytes_aborted"); + http_rsb.background_fill_bytes_completed = intm.newMetricPtr("proxy.process.http.background_fill_bytes_completed"); http_rsb.background_fill_current_count = intm.newMetricPtr("proxy.process.http.background_fill_current_count"); http_rsb.background_fill_total_count = intm.newMetricPtr("proxy.process.http.background_fill_total_count"); http_rsb.broken_server_connections = intm.newMetricPtr("proxy.process.http.broken_server_connections"); @@ -340,41 +340,40 @@ register_stat_callbacks() http_rsb.dns_lookup_begin_time = intm.newMetricPtr("proxy.process.http.milestone.dns_lookup_begin"); http_rsb.dns_lookup_end_time = intm.newMetricPtr("proxy.process.http.milestone.dns_lookup_end"); http_rsb.down_server_no_requests = intm.newMetricPtr("proxy.process.http.down_server.no_requests"); - http_rsb.err_client_abort_count = intm.newMetricPtr("proxy.process.http.err_client_abort_count_stat"); - http_rsb.err_client_abort_origin_server_bytes = intm.newMetricPtr("proxy.process.http.err_client_abort_origin_server_bytes_stat"); - http_rsb.err_client_abort_user_agent_bytes = intm.newMetricPtr("proxy.process.http.err_client_abort_user_agent_bytes_stat"); - http_rsb.err_client_read_error_count = intm.newMetricPtr("proxy.process.http.err_client_read_error_count_stat"); + http_rsb.err_client_abort_count = intm.newMetricPtr("proxy.process.http.err_client_abort_count"); + http_rsb.err_client_abort_origin_server_bytes = intm.newMetricPtr("proxy.process.http.err_client_abort_origin_server_bytes"); + http_rsb.err_client_abort_user_agent_bytes = intm.newMetricPtr("proxy.process.http.err_client_abort_user_agent_bytes"); + http_rsb.err_client_read_error_count = intm.newMetricPtr("proxy.process.http.err_client_read_error_count"); http_rsb.err_client_read_error_origin_server_bytes = - intm.newMetricPtr("proxy.process.http.err_client_read_error_origin_server_bytes_stat"); - http_rsb.err_client_read_error_user_agent_bytes = - intm.newMetricPtr("proxy.process.http.err_client_read_error_user_agent_bytes_stat"); - http_rsb.err_connect_fail_count = intm.newMetricPtr("proxy.process.http.err_connect_fail_count_stat"); - http_rsb.err_connect_fail_origin_server_bytes = intm.newMetricPtr("proxy.process.http.err_connect_fail_origin_server_bytes_stat"); - http_rsb.err_connect_fail_user_agent_bytes = intm.newMetricPtr("proxy.process.http.err_connect_fail_user_agent_bytes_stat"); - http_rsb.extension_method_requests = intm.newMetricPtr("proxy.process.http.extension_method_requests"); - http_rsb.get_requests = intm.newMetricPtr("proxy.process.http.get_requests"); - http_rsb.head_requests = intm.newMetricPtr("proxy.process.http.head_requests"); - http_rsb.https_incoming_requests = intm.newMetricPtr("proxy.process.https.incoming_requests"); - http_rsb.https_total_client_connections = intm.newMetricPtr("proxy.process.https.total_client_connections"); - http_rsb.incoming_requests = intm.newMetricPtr("proxy.process.http.incoming_requests"); - http_rsb.incoming_responses = intm.newMetricPtr("proxy.process.http.incoming_responses"); - http_rsb.invalid_client_requests = intm.newMetricPtr("proxy.process.http.invalid_client_requests"); - http_rsb.misc_count = intm.newMetricPtr("proxy.process.http.misc_count_stat"); - http_rsb.misc_origin_server_bytes = intm.newMetricPtr("proxy.process.http.http_misc_origin_server_bytes_stat"); - http_rsb.misc_user_agent_bytes = intm.newMetricPtr("proxy.process.http.misc_user_agent_bytes_stat"); - http_rsb.missing_host_hdr = intm.newMetricPtr("proxy.process.http.missing_host_hdr"); - http_rsb.options_requests = intm.newMetricPtr("proxy.process.http.options_requests"); - http_rsb.origin_body = intm.newMetricPtr("proxy.process.http.origin.body"); - http_rsb.origin_close_private = intm.newMetricPtr("proxy.process.http.origin.close_private"); - http_rsb.origin_connect_adjust_thread = intm.newMetricPtr("proxy.process.http.origin.connect.adjust_thread"); - http_rsb.origin_connections_throttled = intm.newMetricPtr("proxy.process.http.origin_connections_throttled_out"); - http_rsb.origin_make_new = intm.newMetricPtr("proxy.process.http.origin.make_new"); - http_rsb.origin_no_sharing = intm.newMetricPtr("proxy.process.http.origin.no_sharing"); - http_rsb.origin_not_found = intm.newMetricPtr("proxy.process.http.origin.not_found"); - http_rsb.origin_private = intm.newMetricPtr("proxy.process.http.origin.private"); - http_rsb.origin_raw = intm.newMetricPtr("proxy.process.http.origin.raw"); - http_rsb.origin_reuse = intm.newMetricPtr("proxy.process.http.origin.reuse"); - http_rsb.origin_reuse_fail = intm.newMetricPtr("proxy.process.http.origin.reuse_fail"); + intm.newMetricPtr("proxy.process.http.err_client_read_error_origin_server_bytes"); + http_rsb.err_client_read_error_user_agent_bytes = intm.newMetricPtr("proxy.process.http.err_client_read_error_user_agent_bytes"); + http_rsb.err_connect_fail_count = intm.newMetricPtr("proxy.process.http.err_connect_fail_count"); + http_rsb.err_connect_fail_origin_server_bytes = intm.newMetricPtr("proxy.process.http.err_connect_fail_origin_server_bytes"); + http_rsb.err_connect_fail_user_agent_bytes = intm.newMetricPtr("proxy.process.http.err_connect_fail_user_agent_bytes"); + http_rsb.extension_method_requests = intm.newMetricPtr("proxy.process.http.extension_method_requests"); + http_rsb.get_requests = intm.newMetricPtr("proxy.process.http.get_requests"); + http_rsb.head_requests = intm.newMetricPtr("proxy.process.http.head_requests"); + http_rsb.https_incoming_requests = intm.newMetricPtr("proxy.process.https.incoming_requests"); + http_rsb.https_total_client_connections = intm.newMetricPtr("proxy.process.https.total_client_connections"); + http_rsb.incoming_requests = intm.newMetricPtr("proxy.process.http.incoming_requests"); + http_rsb.incoming_responses = intm.newMetricPtr("proxy.process.http.incoming_responses"); + http_rsb.invalid_client_requests = intm.newMetricPtr("proxy.process.http.invalid_client_requests"); + http_rsb.misc_count = intm.newMetricPtr("proxy.process.http.misc_count"); + http_rsb.misc_origin_server_bytes = intm.newMetricPtr("proxy.process.http.http_misc_origin_server_bytes"); + http_rsb.misc_user_agent_bytes = intm.newMetricPtr("proxy.process.http.misc_user_agent_bytes"); + http_rsb.missing_host_hdr = intm.newMetricPtr("proxy.process.http.missing_host_hdr"); + http_rsb.options_requests = intm.newMetricPtr("proxy.process.http.options_requests"); + http_rsb.origin_body = intm.newMetricPtr("proxy.process.http.origin.body"); + http_rsb.origin_close_private = intm.newMetricPtr("proxy.process.http.origin.close_private"); + http_rsb.origin_connect_adjust_thread = intm.newMetricPtr("proxy.process.http.origin.connect.adjust_thread"); + http_rsb.origin_connections_throttled = intm.newMetricPtr("proxy.process.http.origin_connections_throttled_out"); + http_rsb.origin_make_new = intm.newMetricPtr("proxy.process.http.origin.make_new"); + http_rsb.origin_no_sharing = intm.newMetricPtr("proxy.process.http.origin.no_sharing"); + http_rsb.origin_not_found = intm.newMetricPtr("proxy.process.http.origin.not_found"); + http_rsb.origin_private = intm.newMetricPtr("proxy.process.http.origin.private"); + http_rsb.origin_raw = intm.newMetricPtr("proxy.process.http.origin.raw"); + http_rsb.origin_reuse = intm.newMetricPtr("proxy.process.http.origin.reuse"); + http_rsb.origin_reuse_fail = intm.newMetricPtr("proxy.process.http.origin.reuse_fail"); http_rsb.origin_server_request_document_total_size = intm.newMetricPtr("proxy.process.http.origin_server_request_document_total_size"); http_rsb.origin_server_request_header_total_size = @@ -404,123 +403,122 @@ register_stat_callbacks() intm.newMetricPtr("proxy.process.http.origin_shutdown.tunnel_server_no_keep_alive"); http_rsb.origin_shutdown_tunnel_server_plugin_tunnel = intm.newMetricPtr("proxy.process.http.origin_shutdown.tunnel_server_plugin_tunnel"); - http_rsb.origin_shutdown_tunnel_transform_read = intm.newMetricPtr("proxy.process.http.origin_shutdown.tunnel_transform_read"); - http_rsb.outgoing_requests = intm.newMetricPtr("proxy.process.http.outgoing_requests"); - http_rsb.parent_count = intm.newMetricPtr("proxy.process.http_parent_count"); - http_rsb.parent_proxy_request_total_bytes = intm.newMetricPtr("proxy.process.http.parent_proxy_request_total_bytes"); - http_rsb.parent_proxy_response_total_bytes = intm.newMetricPtr("proxy.process.http.parent_proxy_response_total_bytes"); - http_rsb.parent_proxy_transaction_time = intm.newMetricPtr("proxy.process.http.parent_proxy_transaction_time"); - http_rsb.pooled_server_connections = intm.newMetricPtr("proxy.process.http.pooled_server_connections"); - http_rsb.post_body_too_large = intm.newMetricPtr("proxy.process.http.post_body_too_large"); - http_rsb.post_requests = intm.newMetricPtr("proxy.process.http.post_requests"); - http_rsb.proxy_loop_detected = intm.newMetricPtr("proxy.process.http.http_proxy_loop_detected"); - http_rsb.proxy_mh_loop_detected = intm.newMetricPtr("proxy.process.http.http_proxy_mh_loop_detected"); - http_rsb.purge_requests = intm.newMetricPtr("proxy.process.http.purge_requests"); - http_rsb.push_requests = intm.newMetricPtr("proxy.process.http.push_requests"); - http_rsb.pushed_document_total_size = intm.newMetricPtr("proxy.process.http.pushed_document_total_size"); - http_rsb.pushed_response_header_total_size = intm.newMetricPtr("proxy.process.http.pushed_response_header_total_size"); - http_rsb.put_requests = intm.newMetricPtr("proxy.process.http.put_requests"); - http_rsb.response_status_100_count = intm.newMetricPtr("proxy.process.http.100_responses"); - http_rsb.response_status_101_count = intm.newMetricPtr("proxy.process.http.101_responses"); - http_rsb.response_status_1xx_count = intm.newMetricPtr("proxy.process.http.1xx_responses"); - http_rsb.response_status_200_count = intm.newMetricPtr("proxy.process.http.200_responses"); - http_rsb.response_status_201_count = intm.newMetricPtr("proxy.process.http.201_responses"); - http_rsb.response_status_202_count = intm.newMetricPtr("proxy.process.http.202_responses"); - http_rsb.response_status_203_count = intm.newMetricPtr("proxy.process.http.203_responses"); - http_rsb.response_status_204_count = intm.newMetricPtr("proxy.process.http.204_responses"); - http_rsb.response_status_205_count = intm.newMetricPtr("proxy.process.http.205_responses"); - http_rsb.response_status_206_count = intm.newMetricPtr("proxy.process.http.206_responses"); - http_rsb.response_status_2xx_count = intm.newMetricPtr("proxy.process.http.2xx_responses"); - http_rsb.response_status_300_count = intm.newMetricPtr("proxy.process.http.300_responses"); - http_rsb.response_status_301_count = intm.newMetricPtr("proxy.process.http.301_responses"); - http_rsb.response_status_302_count = intm.newMetricPtr("proxy.process.http.302_responses"); - http_rsb.response_status_303_count = intm.newMetricPtr("proxy.process.http.303_responses"); - http_rsb.response_status_304_count = intm.newMetricPtr("proxy.process.http.304_responses"); - http_rsb.response_status_305_count = intm.newMetricPtr("proxy.process.http.305_responses"); - http_rsb.response_status_307_count = intm.newMetricPtr("proxy.process.http.307_responses"); - http_rsb.response_status_308_count = intm.newMetricPtr("proxy.process.http.308_responses"); - http_rsb.response_status_3xx_count = intm.newMetricPtr("proxy.process.http.3xx_responses"); - http_rsb.response_status_400_count = intm.newMetricPtr("proxy.process.http.400_responses"); - http_rsb.response_status_401_count = intm.newMetricPtr("proxy.process.http.401_responses"); - http_rsb.response_status_402_count = intm.newMetricPtr("proxy.process.http.402_responses"); - http_rsb.response_status_403_count = intm.newMetricPtr("proxy.process.http.403_responses"); - http_rsb.response_status_404_count = intm.newMetricPtr("proxy.process.http.404_responses"); - http_rsb.response_status_405_count = intm.newMetricPtr("proxy.process.http.405_responses"); - http_rsb.response_status_406_count = intm.newMetricPtr("proxy.process.http.406_responses"); - http_rsb.response_status_407_count = intm.newMetricPtr("proxy.process.http.407_responses"); - http_rsb.response_status_408_count = intm.newMetricPtr("proxy.process.http.408_responses"); - http_rsb.response_status_409_count = intm.newMetricPtr("proxy.process.http.409_responses"); - http_rsb.response_status_410_count = intm.newMetricPtr("proxy.process.http.410_responses"); - http_rsb.response_status_411_count = intm.newMetricPtr("proxy.process.http.411_responses"); - http_rsb.response_status_412_count = intm.newMetricPtr("proxy.process.http.412_responses"); - http_rsb.response_status_413_count = intm.newMetricPtr("proxy.process.http.413_responses"); - http_rsb.response_status_414_count = intm.newMetricPtr("proxy.process.http.414_responses"); - http_rsb.response_status_415_count = intm.newMetricPtr("proxy.process.http.415_responses"); - http_rsb.response_status_416_count = intm.newMetricPtr("proxy.process.http.416_responses"); - http_rsb.response_status_4xx_count = intm.newMetricPtr("proxy.process.http.4xx_responses"); - http_rsb.response_status_500_count = intm.newMetricPtr("proxy.process.http.500_responses"); - http_rsb.response_status_501_count = intm.newMetricPtr("proxy.process.http.501_responses"); - http_rsb.response_status_502_count = intm.newMetricPtr("proxy.process.http.502_responses"); - http_rsb.response_status_503_count = intm.newMetricPtr("proxy.process.http.503_responses"); - http_rsb.response_status_504_count = intm.newMetricPtr("proxy.process.http.504_responses"); - http_rsb.response_status_505_count = intm.newMetricPtr("proxy.process.http.505_responses"); - http_rsb.response_status_5xx_count = intm.newMetricPtr("proxy.process.http.5xx_responses"); - http_rsb.server_begin_write_time = intm.newMetricPtr("proxy.process.http.milestone.server_begin_write"); - http_rsb.server_close_time = intm.newMetricPtr("proxy.process.http.milestone.server_close"); - http_rsb.server_connect_end_time = intm.newMetricPtr("proxy.process.http.milestone.server_connect_end"); - http_rsb.server_connect_time = intm.newMetricPtr("proxy.process.http.milestone.server_connect"); - http_rsb.server_first_connect_time = intm.newMetricPtr("proxy.process.http.milestone.server_first_connect"); - http_rsb.server_first_read_time = intm.newMetricPtr("proxy.process.http.milestone.server_first_read"); - http_rsb.server_read_header_done_time = intm.newMetricPtr("proxy.process.http.milestone.server_read_header_done"); - http_rsb.sm_finish_time = intm.newMetricPtr("proxy.process.http.milestone.sm_finish"); - http_rsb.sm_start_time = intm.newMetricPtr("proxy.process.http.milestone.sm_start"); - http_rsb.tcp_client_refresh_count = intm.newMetricPtr("proxy.process.http.tcp_client_refresh_count_stat"); - http_rsb.tcp_client_refresh_origin_server_bytes = - intm.newMetricPtr("proxy.process.http.tcp_client_refresh_origin_server_bytes_stat"); - http_rsb.tcp_client_refresh_user_agent_bytes = intm.newMetricPtr("proxy.process.http.tcp_client_refresh_user_agent_bytes_stat"); - http_rsb.tcp_expired_miss_count = intm.newMetricPtr("proxy.process.http.tcp_expired_miss_count_stat"); - http_rsb.tcp_expired_miss_origin_server_bytes = intm.newMetricPtr("proxy.process.http.tcp_expired_miss_origin_server_bytes_stat"); - http_rsb.tcp_expired_miss_user_agent_bytes = intm.newMetricPtr("proxy.process.http.tcp_expired_miss_user_agent_bytes_stat"); - http_rsb.tcp_hit_count = intm.newMetricPtr("proxy.process.http.tcp_hit_count_stat"); - http_rsb.tcp_hit_origin_server_bytes = intm.newMetricPtr("proxy.process.http.tcp_hit_origin_server_bytes_stat"); - http_rsb.tcp_hit_user_agent_bytes = intm.newMetricPtr("proxy.process.http.tcp_hit_user_agent_bytes_stat"); - http_rsb.tcp_ims_hit_count = intm.newMetricPtr("proxy.process.http.tcp_ims_hit_count_stat"); - http_rsb.tcp_ims_hit_origin_server_bytes = intm.newMetricPtr("proxy.process.http.tcp_ims_hit_origin_server_bytes_stat"); - http_rsb.tcp_ims_hit_user_agent_bytes = intm.newMetricPtr("proxy.process.http.tcp_ims_hit_user_agent_bytes_stat"); - http_rsb.tcp_ims_miss_count = intm.newMetricPtr("proxy.process.http.tcp_ims_miss_count_stat"); - http_rsb.tcp_ims_miss_origin_server_bytes = intm.newMetricPtr("proxy.process.http.tcp_ims_miss_origin_server_bytes_stat"); - http_rsb.tcp_ims_miss_user_agent_bytes = intm.newMetricPtr("proxy.process.http.tcp_ims_miss_user_agent_bytes_stat"); - http_rsb.tcp_miss_count = intm.newMetricPtr("proxy.process.http.tcp_miss_count_stat"); - http_rsb.tcp_miss_origin_server_bytes = intm.newMetricPtr("proxy.process.http.tcp_miss_origin_server_bytes_stat"); - http_rsb.tcp_miss_user_agent_bytes = intm.newMetricPtr("proxy.process.http.tcp_miss_user_agent_bytes_stat"); - http_rsb.tcp_refresh_hit_count = intm.newMetricPtr("proxy.process.http.tcp_refresh_hit_count_stat"); - http_rsb.tcp_refresh_hit_origin_server_bytes = intm.newMetricPtr("proxy.process.http.tcp_refresh_hit_origin_server_bytes_stat"); - http_rsb.tcp_refresh_hit_user_agent_bytes = intm.newMetricPtr("proxy.process.http.tcp_refresh_hit_user_agent_bytes_stat"); - http_rsb.tcp_refresh_miss_count = intm.newMetricPtr("proxy.process.http.tcp_refresh_miss_count_stat"); - http_rsb.tcp_refresh_miss_origin_server_bytes = intm.newMetricPtr("proxy.process.http.tcp_refresh_miss_origin_server_bytes_stat"); - http_rsb.tcp_refresh_miss_user_agent_bytes = intm.newMetricPtr("proxy.process.http.tcp_refresh_miss_user_agent_bytes_stat"); - http_rsb.total_client_connections = intm.newMetricPtr("proxy.process.http.total_client_connections"); - http_rsb.total_client_connections_ipv4 = intm.newMetricPtr("proxy.process.http.total_client_connections_ipv4"); - http_rsb.total_client_connections_ipv6 = intm.newMetricPtr("proxy.process.http.total_client_connections_ipv6"); - http_rsb.total_incoming_connections = intm.newMetricPtr("proxy.process.http.total_incoming_connections"); - http_rsb.total_parent_marked_down_count = intm.newMetricPtr("proxy.process.http.total_parent_marked_down_count"); - http_rsb.total_parent_proxy_connections = intm.newMetricPtr("proxy.process.http.total_parent_proxy_connections"); - http_rsb.total_parent_retries = intm.newMetricPtr("proxy.process.http.total_parent_retries"); - http_rsb.total_parent_retries_exhausted = intm.newMetricPtr("proxy.process.http.total_parent_retries_exhausted"); - http_rsb.total_parent_switches = intm.newMetricPtr("proxy.process.http.total_parent_switches"); - http_rsb.total_server_connections = intm.newMetricPtr("proxy.process.http.total_server_connections"); - http_rsb.total_transactions_time = intm.newMetricPtr("proxy.process.http.total_transactions_time"); - http_rsb.total_x_redirect = intm.newMetricPtr("proxy.process.http.total_x_redirect_count"); - http_rsb.trace_requests = intm.newMetricPtr("proxy.process.http.trace_requests"); - http_rsb.tunnel_current_active_connections = intm.newMetricPtr("proxy.process.tunnel.current_active_connections"); - http_rsb.tunnels = intm.newMetricPtr("proxy.process.http.tunnels"); - http_rsb.ua_begin_time = intm.newMetricPtr("proxy.process.http.milestone.ua_begin"); - http_rsb.ua_begin_write_time = intm.newMetricPtr("proxy.process.http.milestone.ua_begin_write"); - http_rsb.ua_close_time = intm.newMetricPtr("proxy.process.http.milestone.ua_close"); - http_rsb.ua_counts_errors_aborts = intm.newMetricPtr("proxy.process.http.transaction_counts.errors.aborts"); - http_rsb.ua_counts_errors_connect_failed = intm.newMetricPtr("proxy.process.http.transaction_counts.errors.connect_failed"); - http_rsb.ua_counts_errors_other = intm.newMetricPtr("proxy.process.http.transaction_counts.errors.other"); - http_rsb.ua_counts_errors_possible_aborts = intm.newMetricPtr("proxy.process.http.transaction_counts.errors.possible_aborts"); + http_rsb.origin_shutdown_tunnel_transform_read = intm.newMetricPtr("proxy.process.http.origin_shutdown.tunnel_transform_read"); + http_rsb.outgoing_requests = intm.newMetricPtr("proxy.process.http.outgoing_requests"); + http_rsb.parent_count = intm.newMetricPtr("proxy.process.http_parent_count"); + http_rsb.parent_proxy_request_total_bytes = intm.newMetricPtr("proxy.process.http.parent_proxy_request_total_bytes"); + http_rsb.parent_proxy_response_total_bytes = intm.newMetricPtr("proxy.process.http.parent_proxy_response_total_bytes"); + http_rsb.parent_proxy_transaction_time = intm.newMetricPtr("proxy.process.http.parent_proxy_transaction_time"); + http_rsb.pooled_server_connections = intm.newMetricPtr("proxy.process.http.pooled_server_connections"); + http_rsb.post_body_too_large = intm.newMetricPtr("proxy.process.http.post_body_too_large"); + http_rsb.post_requests = intm.newMetricPtr("proxy.process.http.post_requests"); + http_rsb.proxy_loop_detected = intm.newMetricPtr("proxy.process.http.http_proxy_loop_detected"); + http_rsb.proxy_mh_loop_detected = intm.newMetricPtr("proxy.process.http.http_proxy_mh_loop_detected"); + http_rsb.purge_requests = intm.newMetricPtr("proxy.process.http.purge_requests"); + http_rsb.push_requests = intm.newMetricPtr("proxy.process.http.push_requests"); + http_rsb.pushed_document_total_size = intm.newMetricPtr("proxy.process.http.pushed_document_total_size"); + http_rsb.pushed_response_header_total_size = intm.newMetricPtr("proxy.process.http.pushed_response_header_total_size"); + http_rsb.put_requests = intm.newMetricPtr("proxy.process.http.put_requests"); + http_rsb.response_status_100_count = intm.newMetricPtr("proxy.process.http.100_responses"); + http_rsb.response_status_101_count = intm.newMetricPtr("proxy.process.http.101_responses"); + http_rsb.response_status_1xx_count = intm.newMetricPtr("proxy.process.http.1xx_responses"); + http_rsb.response_status_200_count = intm.newMetricPtr("proxy.process.http.200_responses"); + http_rsb.response_status_201_count = intm.newMetricPtr("proxy.process.http.201_responses"); + http_rsb.response_status_202_count = intm.newMetricPtr("proxy.process.http.202_responses"); + http_rsb.response_status_203_count = intm.newMetricPtr("proxy.process.http.203_responses"); + http_rsb.response_status_204_count = intm.newMetricPtr("proxy.process.http.204_responses"); + http_rsb.response_status_205_count = intm.newMetricPtr("proxy.process.http.205_responses"); + http_rsb.response_status_206_count = intm.newMetricPtr("proxy.process.http.206_responses"); + http_rsb.response_status_2xx_count = intm.newMetricPtr("proxy.process.http.2xx_responses"); + http_rsb.response_status_300_count = intm.newMetricPtr("proxy.process.http.300_responses"); + http_rsb.response_status_301_count = intm.newMetricPtr("proxy.process.http.301_responses"); + http_rsb.response_status_302_count = intm.newMetricPtr("proxy.process.http.302_responses"); + http_rsb.response_status_303_count = intm.newMetricPtr("proxy.process.http.303_responses"); + http_rsb.response_status_304_count = intm.newMetricPtr("proxy.process.http.304_responses"); + http_rsb.response_status_305_count = intm.newMetricPtr("proxy.process.http.305_responses"); + http_rsb.response_status_307_count = intm.newMetricPtr("proxy.process.http.307_responses"); + http_rsb.response_status_308_count = intm.newMetricPtr("proxy.process.http.308_responses"); + http_rsb.response_status_3xx_count = intm.newMetricPtr("proxy.process.http.3xx_responses"); + http_rsb.response_status_400_count = intm.newMetricPtr("proxy.process.http.400_responses"); + http_rsb.response_status_401_count = intm.newMetricPtr("proxy.process.http.401_responses"); + http_rsb.response_status_402_count = intm.newMetricPtr("proxy.process.http.402_responses"); + http_rsb.response_status_403_count = intm.newMetricPtr("proxy.process.http.403_responses"); + http_rsb.response_status_404_count = intm.newMetricPtr("proxy.process.http.404_responses"); + http_rsb.response_status_405_count = intm.newMetricPtr("proxy.process.http.405_responses"); + http_rsb.response_status_406_count = intm.newMetricPtr("proxy.process.http.406_responses"); + http_rsb.response_status_407_count = intm.newMetricPtr("proxy.process.http.407_responses"); + http_rsb.response_status_408_count = intm.newMetricPtr("proxy.process.http.408_responses"); + http_rsb.response_status_409_count = intm.newMetricPtr("proxy.process.http.409_responses"); + http_rsb.response_status_410_count = intm.newMetricPtr("proxy.process.http.410_responses"); + http_rsb.response_status_411_count = intm.newMetricPtr("proxy.process.http.411_responses"); + http_rsb.response_status_412_count = intm.newMetricPtr("proxy.process.http.412_responses"); + http_rsb.response_status_413_count = intm.newMetricPtr("proxy.process.http.413_responses"); + http_rsb.response_status_414_count = intm.newMetricPtr("proxy.process.http.414_responses"); + http_rsb.response_status_415_count = intm.newMetricPtr("proxy.process.http.415_responses"); + http_rsb.response_status_416_count = intm.newMetricPtr("proxy.process.http.416_responses"); + http_rsb.response_status_4xx_count = intm.newMetricPtr("proxy.process.http.4xx_responses"); + http_rsb.response_status_500_count = intm.newMetricPtr("proxy.process.http.500_responses"); + http_rsb.response_status_501_count = intm.newMetricPtr("proxy.process.http.501_responses"); + http_rsb.response_status_502_count = intm.newMetricPtr("proxy.process.http.502_responses"); + http_rsb.response_status_503_count = intm.newMetricPtr("proxy.process.http.503_responses"); + http_rsb.response_status_504_count = intm.newMetricPtr("proxy.process.http.504_responses"); + http_rsb.response_status_505_count = intm.newMetricPtr("proxy.process.http.505_responses"); + http_rsb.response_status_5xx_count = intm.newMetricPtr("proxy.process.http.5xx_responses"); + http_rsb.server_begin_write_time = intm.newMetricPtr("proxy.process.http.milestone.server_begin_write"); + http_rsb.server_close_time = intm.newMetricPtr("proxy.process.http.milestone.server_close"); + http_rsb.server_connect_end_time = intm.newMetricPtr("proxy.process.http.milestone.server_connect_end"); + http_rsb.server_connect_time = intm.newMetricPtr("proxy.process.http.milestone.server_connect"); + http_rsb.server_first_connect_time = intm.newMetricPtr("proxy.process.http.milestone.server_first_connect"); + http_rsb.server_first_read_time = intm.newMetricPtr("proxy.process.http.milestone.server_first_read"); + http_rsb.server_read_header_done_time = intm.newMetricPtr("proxy.process.http.milestone.server_read_header_done"); + http_rsb.sm_finish_time = intm.newMetricPtr("proxy.process.http.milestone.sm_finish"); + http_rsb.sm_start_time = intm.newMetricPtr("proxy.process.http.milestone.sm_start"); + http_rsb.tcp_client_refresh_count = intm.newMetricPtr("proxy.process.http.tcp_client_refresh_count"); + http_rsb.tcp_client_refresh_origin_server_bytes = intm.newMetricPtr("proxy.process.http.tcp_client_refresh_origin_server_bytes"); + http_rsb.tcp_client_refresh_user_agent_bytes = intm.newMetricPtr("proxy.process.http.tcp_client_refresh_user_agent_bytes"); + http_rsb.tcp_expired_miss_count = intm.newMetricPtr("proxy.process.http.tcp_expired_miss_count"); + http_rsb.tcp_expired_miss_origin_server_bytes = intm.newMetricPtr("proxy.process.http.tcp_expired_miss_origin_server_bytes"); + http_rsb.tcp_expired_miss_user_agent_bytes = intm.newMetricPtr("proxy.process.http.tcp_expired_miss_user_agent_bytes"); + http_rsb.tcp_hit_count = intm.newMetricPtr("proxy.process.http.tcp_hit_count"); + http_rsb.tcp_hit_origin_server_bytes = intm.newMetricPtr("proxy.process.http.tcp_hit_origin_server_bytes"); + http_rsb.tcp_hit_user_agent_bytes = intm.newMetricPtr("proxy.process.http.tcp_hit_user_agent_bytes"); + http_rsb.tcp_ims_hit_count = intm.newMetricPtr("proxy.process.http.tcp_ims_hit_count"); + http_rsb.tcp_ims_hit_origin_server_bytes = intm.newMetricPtr("proxy.process.http.tcp_ims_hit_origin_server_bytes"); + http_rsb.tcp_ims_hit_user_agent_bytes = intm.newMetricPtr("proxy.process.http.tcp_ims_hit_user_agent_bytes"); + http_rsb.tcp_ims_miss_count = intm.newMetricPtr("proxy.process.http.tcp_ims_miss_count"); + http_rsb.tcp_ims_miss_origin_server_bytes = intm.newMetricPtr("proxy.process.http.tcp_ims_miss_origin_server_bytes"); + http_rsb.tcp_ims_miss_user_agent_bytes = intm.newMetricPtr("proxy.process.http.tcp_ims_miss_user_agent_bytes"); + http_rsb.tcp_miss_count = intm.newMetricPtr("proxy.process.http.tcp_miss_count"); + http_rsb.tcp_miss_origin_server_bytes = intm.newMetricPtr("proxy.process.http.tcp_miss_origin_server_bytes"); + http_rsb.tcp_miss_user_agent_bytes = intm.newMetricPtr("proxy.process.http.tcp_miss_user_agent_bytes"); + http_rsb.tcp_refresh_hit_count = intm.newMetricPtr("proxy.process.http.tcp_refresh_hit_count"); + http_rsb.tcp_refresh_hit_origin_server_bytes = intm.newMetricPtr("proxy.process.http.tcp_refresh_hit_origin_server_bytes"); + http_rsb.tcp_refresh_hit_user_agent_bytes = intm.newMetricPtr("proxy.process.http.tcp_refresh_hit_user_agent_bytes"); + http_rsb.tcp_refresh_miss_count = intm.newMetricPtr("proxy.process.http.tcp_refresh_miss_count"); + http_rsb.tcp_refresh_miss_origin_server_bytes = intm.newMetricPtr("proxy.process.http.tcp_refresh_miss_origin_server_bytes"); + http_rsb.tcp_refresh_miss_user_agent_bytes = intm.newMetricPtr("proxy.process.http.tcp_refresh_miss_user_agent_bytes"); + http_rsb.total_client_connections = intm.newMetricPtr("proxy.process.http.total_client_connections"); + http_rsb.total_client_connections_ipv4 = intm.newMetricPtr("proxy.process.http.total_client_connections_ipv4"); + http_rsb.total_client_connections_ipv6 = intm.newMetricPtr("proxy.process.http.total_client_connections_ipv6"); + http_rsb.total_incoming_connections = intm.newMetricPtr("proxy.process.http.total_incoming_connections"); + http_rsb.total_parent_marked_down_count = intm.newMetricPtr("proxy.process.http.total_parent_marked_down_count"); + http_rsb.total_parent_proxy_connections = intm.newMetricPtr("proxy.process.http.total_parent_proxy_connections"); + http_rsb.total_parent_retries = intm.newMetricPtr("proxy.process.http.total_parent_retries"); + http_rsb.total_parent_retries_exhausted = intm.newMetricPtr("proxy.process.http.total_parent_retries_exhausted"); + http_rsb.total_parent_switches = intm.newMetricPtr("proxy.process.http.total_parent_switches"); + http_rsb.total_server_connections = intm.newMetricPtr("proxy.process.http.total_server_connections"); + http_rsb.total_transactions_time = intm.newMetricPtr("proxy.process.http.total_transactions_time"); + http_rsb.total_x_redirect = intm.newMetricPtr("proxy.process.http.total_x_redirect_count"); + http_rsb.trace_requests = intm.newMetricPtr("proxy.process.http.trace_requests"); + http_rsb.tunnel_current_active_connections = intm.newMetricPtr("proxy.process.tunnel.current_active_connections"); + http_rsb.tunnels = intm.newMetricPtr("proxy.process.http.tunnels"); + http_rsb.ua_begin_time = intm.newMetricPtr("proxy.process.http.milestone.ua_begin"); + http_rsb.ua_begin_write_time = intm.newMetricPtr("proxy.process.http.milestone.ua_begin_write"); + http_rsb.ua_close_time = intm.newMetricPtr("proxy.process.http.milestone.ua_close"); + http_rsb.ua_counts_errors_aborts = intm.newMetricPtr("proxy.process.http.transaction_counts.errors.aborts"); + http_rsb.ua_counts_errors_connect_failed = intm.newMetricPtr("proxy.process.http.transaction_counts.errors.connect_failed"); + http_rsb.ua_counts_errors_other = intm.newMetricPtr("proxy.process.http.transaction_counts.errors.other"); + http_rsb.ua_counts_errors_possible_aborts = intm.newMetricPtr("proxy.process.http.transaction_counts.errors.possible_aborts"); http_rsb.ua_counts_errors_pre_accept_hangups = intm.newMetricPtr("proxy.process.http.transaction_counts.errors.pre_accept_hangups"); http_rsb.ua_counts_hit_fresh = intm.newMetricPtr("proxy.process.http.transaction_counts.hit_fresh");