grpc 1.49.1 → 1.50.0.pre1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of grpc might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Makefile +54 -153
- data/include/grpc/event_engine/endpoint_config.h +11 -5
- data/include/grpc/event_engine/event_engine.h +1 -1
- data/include/grpc/impl/codegen/atm_gcc_atomic.h +19 -28
- data/include/grpc/impl/codegen/atm_gcc_sync.h +0 -2
- data/include/grpc/impl/codegen/atm_windows.h +0 -2
- data/include/grpc/impl/codegen/grpc_types.h +6 -0
- data/src/core/ext/filters/channel_idle/channel_idle_filter.cc +3 -3
- data/src/core/ext/filters/client_channel/backup_poller.cc +4 -6
- data/src/core/ext/filters/client_channel/client_channel.cc +33 -22
- data/src/core/ext/filters/client_channel/client_channel.h +1 -1
- data/src/core/ext/filters/client_channel/client_channel_plugin.cc +0 -16
- data/src/core/ext/filters/client_channel/http_proxy.cc +12 -19
- data/src/core/ext/filters/client_channel/http_proxy.h +3 -2
- data/src/core/ext/filters/client_channel/lb_policy/child_policy_handler.cc +6 -4
- data/src/core/ext/filters/client_channel/lb_policy/child_policy_handler.h +5 -4
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc +0 -2
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc +112 -96
- data/src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.cc +20 -11
- data/src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.cc +106 -108
- data/src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.h +16 -0
- data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc +20 -13
- data/src/core/ext/filters/client_channel/lb_policy/priority/priority.cc +165 -257
- data/src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.cc +218 -231
- data/src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.h +10 -6
- data/src/core/ext/filters/client_channel/lb_policy/rls/rls.cc +389 -444
- data/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc +16 -16
- data/src/core/ext/filters/client_channel/lb_policy/subchannel_list.h +8 -13
- data/src/core/ext/filters/client_channel/lb_policy/weighted_target/weighted_target.cc +84 -96
- data/src/core/ext/filters/client_channel/lb_policy/xds/cds.cc +38 -37
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc +106 -186
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_manager.cc +106 -93
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc +170 -218
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc +2 -2
- data/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc +1 -1
- data/src/core/ext/filters/client_channel/resolver/google_c2p/google_c2p_resolver.cc +13 -15
- data/src/core/ext/filters/client_channel/resolver/polling_resolver.cc +84 -37
- data/src/core/ext/filters/client_channel/resolver/polling_resolver.h +11 -0
- data/src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc +1 -0
- data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc +5 -3
- data/src/core/ext/filters/client_channel/resolver_result_parsing.cc +5 -4
- data/src/core/ext/filters/client_channel/retry_filter.cc +25 -29
- data/src/core/ext/filters/client_channel/subchannel.cc +38 -33
- data/src/core/ext/filters/client_channel/subchannel.h +12 -3
- data/src/core/ext/filters/client_channel/subchannel_stream_client.cc +1 -2
- data/src/core/ext/filters/fault_injection/fault_injection_filter.cc +23 -16
- data/src/core/ext/filters/fault_injection/fault_injection_filter.h +8 -0
- data/src/core/ext/filters/http/client/http_client_filter.cc +1 -2
- data/src/core/ext/filters/http/message_compress/message_compress_filter.cc +2 -4
- data/src/core/ext/filters/http/message_compress/message_decompress_filter.cc +0 -2
- data/src/core/ext/filters/http/server/http_server_filter.cc +1 -2
- data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +12 -8
- data/src/core/ext/transport/chttp2/server/chttp2_server.cc +32 -26
- data/src/core/ext/transport/chttp2/transport/bin_encoder.cc +1 -1
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +25 -130
- data/src/core/ext/transport/chttp2/transport/decode_huff.cc +287 -0
- data/src/core/ext/transport/chttp2/transport/decode_huff.h +1018 -0
- data/src/core/ext/transport/chttp2/transport/flow_control.cc +83 -51
- data/src/core/ext/transport/chttp2/transport/flow_control.h +11 -6
- data/src/core/ext/transport/chttp2/transport/frame_ping.cc +1 -2
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +2 -20
- data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +28 -28
- data/src/core/ext/transport/chttp2/transport/hpack_parser_table.cc +1 -10
- data/src/core/ext/transport/chttp2/transport/hpack_parser_table.h +11 -6
- data/src/core/ext/transport/chttp2/transport/internal.h +2 -0
- data/src/core/ext/transport/chttp2/transport/parsing.cc +44 -0
- data/src/core/ext/transport/chttp2/transport/writing.cc +3 -14
- data/src/core/ext/transport/inproc/inproc_transport.cc +1 -3
- data/src/core/ext/xds/certificate_provider_store.cc +63 -3
- data/src/core/ext/xds/certificate_provider_store.h +9 -1
- data/src/core/ext/xds/file_watcher_certificate_provider_factory.cc +5 -5
- data/src/core/ext/xds/file_watcher_certificate_provider_factory.h +1 -1
- data/src/core/ext/xds/xds_api.cc +21 -17
- data/src/core/ext/xds/xds_api.h +7 -0
- data/src/core/ext/xds/xds_bootstrap.cc +5 -537
- data/src/core/ext/xds/xds_bootstrap.h +39 -111
- data/src/core/ext/xds/xds_bootstrap_grpc.cc +370 -0
- data/src/core/ext/xds/xds_bootstrap_grpc.h +169 -0
- data/src/core/ext/xds/xds_client.cc +219 -145
- data/src/core/ext/xds/xds_client.h +19 -17
- data/src/core/ext/xds/xds_client_grpc.cc +18 -80
- data/src/core/ext/xds/xds_client_grpc.h +2 -25
- data/src/core/ext/xds/xds_client_stats.cc +4 -4
- data/src/core/ext/xds/xds_cluster.cc +87 -79
- data/src/core/ext/xds/xds_cluster.h +5 -5
- data/src/core/ext/xds/xds_cluster_specifier_plugin.cc +3 -1
- data/src/core/ext/xds/xds_common_types.cc +13 -5
- data/src/core/ext/xds/xds_endpoint.cc +8 -6
- data/src/core/ext/xds/xds_endpoint.h +3 -4
- data/src/core/ext/xds/xds_lb_policy_registry.cc +4 -2
- data/src/core/ext/xds/xds_listener.cc +25 -20
- data/src/core/ext/xds/xds_listener.h +3 -4
- data/src/core/ext/xds/xds_resource_type.h +11 -8
- data/src/core/ext/xds/xds_route_config.cc +15 -16
- data/src/core/ext/xds/xds_route_config.h +3 -3
- data/src/core/ext/xds/xds_server_config_fetcher.cc +7 -5
- data/src/core/ext/xds/xds_transport_grpc.cc +15 -7
- data/src/core/lib/backoff/backoff.cc +2 -4
- data/src/core/lib/channel/call_finalization.h +1 -3
- data/src/core/lib/channel/channel_args.h +114 -14
- data/src/core/lib/channel/channel_trace.cc +3 -4
- data/src/core/lib/channel/promise_based_filter.cc +18 -19
- data/src/core/lib/channel/status_util.cc +27 -0
- data/src/core/lib/channel/status_util.h +10 -0
- data/src/core/lib/config/core_configuration.cc +5 -1
- data/src/core/lib/config/core_configuration.h +33 -0
- data/src/core/lib/debug/stats.cc +26 -30
- data/src/core/lib/debug/stats.h +2 -12
- data/src/core/lib/debug/stats_data.cc +118 -614
- data/src/core/lib/debug/stats_data.h +67 -465
- data/src/core/lib/debug/trace.cc +0 -2
- data/src/core/lib/event_engine/channel_args_endpoint_config.cc +12 -20
- data/src/core/lib/event_engine/channel_args_endpoint_config.h +13 -7
- data/src/core/lib/event_engine/forkable.cc +1 -1
- data/src/core/lib/event_engine/poller.h +14 -12
- data/src/core/lib/event_engine/posix_engine/timer_manager.cc +53 -32
- data/src/core/lib/event_engine/posix_engine/timer_manager.h +23 -1
- data/src/core/lib/event_engine/thread_pool.cc +131 -94
- data/src/core/lib/event_engine/thread_pool.h +56 -23
- data/src/core/lib/event_engine/time_util.cc +30 -0
- data/src/core/lib/event_engine/time_util.h +32 -0
- data/src/core/lib/event_engine/utils.cc +0 -5
- data/src/core/lib/event_engine/utils.h +0 -4
- data/src/core/lib/event_engine/windows/iocp.cc +13 -7
- data/src/core/lib/event_engine/windows/iocp.h +2 -1
- data/src/core/lib/event_engine/windows/win_socket.cc +1 -1
- data/src/core/lib/experiments/config.cc +146 -0
- data/src/core/lib/experiments/config.h +43 -0
- data/src/core/lib/experiments/experiments.cc +75 -0
- data/src/core/lib/experiments/experiments.h +56 -0
- data/src/core/lib/gpr/alloc.cc +1 -9
- data/src/core/lib/gpr/log_windows.cc +0 -1
- data/src/core/lib/gpr/string_util_windows.cc +3 -30
- data/src/core/lib/gpr/sync_abseil.cc +0 -14
- data/src/core/lib/gpr/sync_posix.cc +0 -14
- data/src/core/lib/gpr/time_posix.cc +0 -6
- data/src/core/lib/gpr/time_precise.h +1 -1
- data/src/core/lib/gpr/tmpfile_windows.cc +5 -7
- data/src/core/lib/gpr/useful.h +11 -0
- data/src/core/lib/{gpr → gprpp}/env.h +25 -12
- data/src/core/lib/{gpr → gprpp}/env_linux.cc +20 -15
- data/src/core/lib/{gpr → gprpp}/env_posix.cc +11 -10
- data/src/core/lib/gprpp/env_windows.cc +56 -0
- data/src/core/lib/gprpp/fork.cc +14 -22
- data/src/core/lib/gprpp/fork.h +0 -8
- data/src/core/lib/gprpp/global_config_env.cc +7 -6
- data/src/core/lib/gprpp/notification.h +67 -0
- data/src/core/lib/gprpp/packed_table.h +40 -0
- data/src/core/lib/gprpp/ref_counted_ptr.h +20 -33
- data/src/core/lib/gprpp/sorted_pack.h +98 -0
- data/src/core/lib/gprpp/status_helper.h +6 -0
- data/src/core/lib/gprpp/table.h +9 -1
- data/src/core/lib/gprpp/tchar.cc +49 -0
- data/src/core/lib/gprpp/tchar.h +33 -0
- data/src/core/lib/gprpp/time.cc +21 -0
- data/src/core/lib/gprpp/time.h +55 -0
- data/src/core/lib/gprpp/validation_errors.cc +61 -0
- data/src/core/lib/gprpp/validation_errors.h +110 -0
- data/src/core/{ext/filters/client_channel → lib/handshaker}/proxy_mapper.h +3 -3
- data/src/core/{ext/filters/client_channel → lib/handshaker}/proxy_mapper_registry.cc +14 -36
- data/src/core/lib/handshaker/proxy_mapper_registry.h +75 -0
- data/src/core/lib/iomgr/call_combiner.cc +0 -8
- data/src/core/lib/iomgr/closure.h +0 -1
- data/src/core/lib/iomgr/endpoint_pair_posix.cc +14 -10
- data/src/core/lib/iomgr/endpoint_pair_windows.cc +2 -2
- data/src/core/lib/iomgr/ev_epoll1_linux.cc +1 -38
- data/src/core/lib/iomgr/ev_poll_posix.cc +2 -17
- data/src/core/lib/iomgr/exec_ctx.cc +0 -10
- data/src/core/lib/iomgr/exec_ctx.h +7 -31
- data/src/core/lib/iomgr/iocp_windows.cc +1 -2
- data/src/core/lib/iomgr/iomgr.cc +6 -8
- data/src/core/lib/iomgr/iomgr_fwd.h +1 -0
- data/src/core/lib/iomgr/pollset.h +1 -1
- data/src/core/lib/iomgr/pollset_set.h +0 -1
- data/src/core/lib/iomgr/resolve_address.h +1 -0
- data/src/core/lib/iomgr/resolve_address_impl.h +1 -0
- data/src/core/lib/iomgr/resolve_address_posix.cc +1 -0
- data/src/core/lib/iomgr/resolve_address_windows.cc +1 -0
- data/src/core/lib/iomgr/sockaddr_utils_posix.cc +2 -1
- data/src/core/lib/iomgr/socket_utils_common_posix.cc +12 -34
- data/src/core/lib/iomgr/socket_utils_posix.cc +83 -1
- data/src/core/lib/iomgr/socket_utils_posix.h +98 -6
- data/src/core/lib/iomgr/tcp_client.cc +6 -7
- data/src/core/lib/iomgr/tcp_client.h +11 -11
- data/src/core/lib/iomgr/tcp_client_cfstream.cc +6 -6
- data/src/core/lib/iomgr/tcp_client_posix.cc +33 -29
- data/src/core/lib/iomgr/tcp_client_posix.h +12 -9
- data/src/core/lib/iomgr/tcp_client_windows.cc +6 -6
- data/src/core/lib/iomgr/tcp_posix.cc +131 -114
- data/src/core/lib/iomgr/tcp_posix.h +3 -1
- data/src/core/lib/iomgr/tcp_server.cc +5 -4
- data/src/core/lib/iomgr/tcp_server.h +9 -6
- data/src/core/lib/iomgr/tcp_server_posix.cc +17 -28
- data/src/core/lib/iomgr/tcp_server_utils_posix.h +2 -2
- data/src/core/lib/iomgr/tcp_server_utils_posix_common.cc +3 -3
- data/src/core/lib/iomgr/tcp_server_windows.cc +6 -7
- data/src/core/lib/iomgr/tcp_windows.cc +0 -1
- data/src/core/lib/iomgr/tcp_windows.h +0 -1
- data/src/core/lib/iomgr/timer_generic.cc +4 -4
- data/src/core/lib/iomgr/timer_manager.cc +1 -2
- data/src/core/lib/iomgr/wakeup_fd_eventfd.cc +0 -2
- data/src/core/lib/json/json_object_loader.cc +21 -52
- data/src/core/lib/json/json_object_loader.h +56 -76
- data/src/core/lib/json/json_util.cc +2 -1
- data/src/core/lib/load_balancing/lb_policy.h +5 -5
- data/src/core/lib/load_balancing/lb_policy_registry.cc +29 -55
- data/src/core/lib/load_balancing/lb_policy_registry.h +23 -11
- data/src/core/lib/promise/activity.h +2 -3
- data/src/core/lib/promise/context.h +1 -1
- data/src/core/lib/promise/sleep.cc +16 -4
- data/src/core/lib/promise/sleep.h +8 -2
- data/src/core/lib/resolver/resolver.h +13 -3
- data/src/core/lib/resource_quota/api.cc +9 -0
- data/src/core/lib/resource_quota/api.h +6 -0
- data/src/core/lib/resource_quota/arena.cc +1 -3
- data/src/core/lib/resource_quota/memory_quota.cc +8 -24
- data/src/core/lib/resource_quota/memory_quota.h +6 -19
- data/src/core/lib/resource_quota/periodic_update.cc +2 -3
- data/src/core/{ext/xds → lib/security/certificate_provider}/certificate_provider_factory.h +3 -3
- data/src/core/lib/security/certificate_provider/certificate_provider_registry.cc +60 -0
- data/src/core/lib/security/certificate_provider/certificate_provider_registry.h +70 -0
- data/src/core/lib/security/credentials/channel_creds_registry_init.cc +1 -0
- data/src/core/lib/security/credentials/external/aws_external_account_credentials.cc +15 -16
- data/src/core/lib/security/credentials/external/external_account_credentials.cc +2 -1
- data/src/core/lib/security/credentials/google_default/credentials_generic.cc +5 -8
- data/src/core/lib/security/credentials/google_default/google_default_credentials.cc +6 -6
- data/src/core/lib/security/credentials/jwt/jwt_verifier.cc +3 -2
- data/src/core/lib/security/credentials/jwt/jwt_verifier.h +1 -1
- data/src/core/lib/security/credentials/oauth2/oauth2_credentials.cc +1 -2
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.cc +4 -3
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.h +4 -2
- data/src/core/lib/security/credentials/tls/tls_utils.cc +3 -1
- data/src/core/lib/security/transport/client_auth_filter.cc +12 -1
- data/src/core/lib/security/transport/secure_endpoint.cc +0 -4
- data/src/core/lib/surface/call.cc +1 -11
- data/src/core/lib/surface/channel.cc +3 -2
- data/src/core/lib/surface/completion_queue.cc +16 -28
- data/src/core/lib/surface/completion_queue.h +1 -1
- data/src/core/lib/surface/completion_queue_factory.cc +5 -0
- data/src/core/lib/surface/init.cc +16 -11
- data/src/core/lib/surface/init_internally.cc +24 -0
- data/src/core/lib/surface/init_internally.h +28 -0
- data/src/core/lib/surface/server.cc +1 -7
- data/src/core/lib/surface/server.h +4 -6
- data/src/core/lib/surface/version.cc +2 -2
- data/src/core/lib/transport/bdp_estimator.cc +1 -3
- data/src/core/lib/transport/metadata_batch.cc +2 -3
- data/src/core/lib/transport/metadata_batch.h +9 -7
- data/src/core/lib/transport/parsed_metadata.h +4 -2
- data/src/core/lib/transport/status_conversion.cc +1 -3
- data/src/core/lib/transport/tcp_connect_handshaker.cc +9 -5
- data/src/core/lib/transport/transport.h +0 -1
- data/src/core/lib/transport/transport_impl.h +0 -1
- data/src/core/plugin_registry/grpc_plugin_registry.cc +23 -46
- data/src/core/plugin_registry/grpc_plugin_registry_extra.cc +13 -25
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/src/ruby/spec/channel_spec.rb +5 -0
- data/src/ruby/spec/generic/server_interceptors_spec.rb +1 -1
- data/src/ruby/spec/user_agent_spec.rb +1 -1
- metadata +33 -19
- data/src/core/ext/filters/client_channel/proxy_mapper_registry.h +0 -56
- data/src/core/ext/xds/certificate_provider_registry.cc +0 -103
- data/src/core/ext/xds/certificate_provider_registry.h +0 -59
- data/src/core/lib/event_engine/promise.h +0 -78
- data/src/core/lib/gpr/env_windows.cc +0 -74
- data/src/core/lib/gpr/string_windows.h +0 -32
- data/src/core/lib/profiling/basic_timers.cc +0 -295
- data/src/core/lib/profiling/stap_timers.cc +0 -50
- data/src/core/lib/profiling/timers.h +0 -94
@@ -23,527 +23,129 @@
|
|
23
23
|
|
24
24
|
#include <grpc/support/port_platform.h>
|
25
25
|
|
26
|
+
// IWYU pragma: private, include "src/core/lib/debug/stats.h"
|
27
|
+
|
26
28
|
typedef enum {
|
27
29
|
GRPC_STATS_COUNTER_CLIENT_CALLS_CREATED,
|
28
30
|
GRPC_STATS_COUNTER_SERVER_CALLS_CREATED,
|
29
|
-
GRPC_STATS_COUNTER_CQS_CREATED,
|
30
31
|
GRPC_STATS_COUNTER_CLIENT_CHANNELS_CREATED,
|
31
32
|
GRPC_STATS_COUNTER_CLIENT_SUBCHANNELS_CREATED,
|
32
33
|
GRPC_STATS_COUNTER_SERVER_CHANNELS_CREATED,
|
33
|
-
GRPC_STATS_COUNTER_SYSCALL_POLL,
|
34
|
-
GRPC_STATS_COUNTER_SYSCALL_WAIT,
|
35
|
-
GRPC_STATS_COUNTER_POLLSET_KICK,
|
36
|
-
GRPC_STATS_COUNTER_POLLSET_KICKED_WITHOUT_POLLER,
|
37
|
-
GRPC_STATS_COUNTER_POLLSET_KICKED_AGAIN,
|
38
|
-
GRPC_STATS_COUNTER_POLLSET_KICK_WAKEUP_FD,
|
39
|
-
GRPC_STATS_COUNTER_POLLSET_KICK_WAKEUP_CV,
|
40
|
-
GRPC_STATS_COUNTER_POLLSET_KICK_OWN_THREAD,
|
41
|
-
GRPC_STATS_COUNTER_HISTOGRAM_SLOW_LOOKUPS,
|
42
34
|
GRPC_STATS_COUNTER_SYSCALL_WRITE,
|
43
35
|
GRPC_STATS_COUNTER_SYSCALL_READ,
|
44
|
-
|
45
|
-
|
46
|
-
GRPC_STATS_COUNTER_HTTP2_OP_BATCHES,
|
47
|
-
GRPC_STATS_COUNTER_HTTP2_OP_CANCEL,
|
48
|
-
GRPC_STATS_COUNTER_HTTP2_OP_SEND_INITIAL_METADATA,
|
49
|
-
GRPC_STATS_COUNTER_HTTP2_OP_SEND_MESSAGE,
|
50
|
-
GRPC_STATS_COUNTER_HTTP2_OP_SEND_TRAILING_METADATA,
|
51
|
-
GRPC_STATS_COUNTER_HTTP2_OP_RECV_INITIAL_METADATA,
|
52
|
-
GRPC_STATS_COUNTER_HTTP2_OP_RECV_MESSAGE,
|
53
|
-
GRPC_STATS_COUNTER_HTTP2_OP_RECV_TRAILING_METADATA,
|
36
|
+
GRPC_STATS_COUNTER_TCP_READ_ALLOC_8K,
|
37
|
+
GRPC_STATS_COUNTER_TCP_READ_ALLOC_64K,
|
54
38
|
GRPC_STATS_COUNTER_HTTP2_SETTINGS_WRITES,
|
55
39
|
GRPC_STATS_COUNTER_HTTP2_PINGS_SENT,
|
56
40
|
GRPC_STATS_COUNTER_HTTP2_WRITES_BEGUN,
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_SEND_MESSAGE,
|
63
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_SEND_INITIAL_METADATA,
|
64
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_SEND_TRAILING_METADATA,
|
65
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_RETRY_SEND_PING,
|
66
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_CONTINUE_PINGS,
|
67
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_GOAWAY_SENT,
|
68
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_RST_STREAM,
|
69
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_CLOSE_FROM_API,
|
70
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_STREAM_FLOW_CONTROL,
|
71
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_TRANSPORT_FLOW_CONTROL,
|
72
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_SEND_SETTINGS,
|
73
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_SETTINGS_ACK,
|
74
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_BDP_ESTIMATOR_PING,
|
75
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_FLOW_CONTROL_UNSTALLED_BY_SETTING,
|
76
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_FLOW_CONTROL_UNSTALLED_BY_UPDATE,
|
77
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_APPLICATION_PING,
|
78
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_KEEPALIVE_PING,
|
79
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_TRANSPORT_FLOW_CONTROL_UNSTALLED,
|
80
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_PING_RESPONSE,
|
81
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_FORCE_RST_STREAM,
|
82
|
-
GRPC_STATS_COUNTER_HTTP2_SPURIOUS_WRITES_BEGUN,
|
83
|
-
GRPC_STATS_COUNTER_HPACK_RECV_INDEXED,
|
84
|
-
GRPC_STATS_COUNTER_HPACK_RECV_LITHDR_INCIDX,
|
85
|
-
GRPC_STATS_COUNTER_HPACK_RECV_LITHDR_INCIDX_V,
|
86
|
-
GRPC_STATS_COUNTER_HPACK_RECV_LITHDR_NOTIDX,
|
87
|
-
GRPC_STATS_COUNTER_HPACK_RECV_LITHDR_NOTIDX_V,
|
88
|
-
GRPC_STATS_COUNTER_HPACK_RECV_LITHDR_NVRIDX,
|
89
|
-
GRPC_STATS_COUNTER_HPACK_RECV_LITHDR_NVRIDX_V,
|
90
|
-
GRPC_STATS_COUNTER_HPACK_RECV_UNCOMPRESSED,
|
91
|
-
GRPC_STATS_COUNTER_HPACK_RECV_HUFFMAN,
|
92
|
-
GRPC_STATS_COUNTER_HPACK_RECV_BINARY,
|
93
|
-
GRPC_STATS_COUNTER_HPACK_RECV_BINARY_BASE64,
|
94
|
-
GRPC_STATS_COUNTER_HPACK_SEND_INDEXED,
|
95
|
-
GRPC_STATS_COUNTER_HPACK_SEND_LITHDR_INCIDX,
|
96
|
-
GRPC_STATS_COUNTER_HPACK_SEND_LITHDR_INCIDX_V,
|
97
|
-
GRPC_STATS_COUNTER_HPACK_SEND_LITHDR_NOTIDX,
|
98
|
-
GRPC_STATS_COUNTER_HPACK_SEND_LITHDR_NOTIDX_V,
|
99
|
-
GRPC_STATS_COUNTER_HPACK_SEND_LITHDR_NVRIDX,
|
100
|
-
GRPC_STATS_COUNTER_HPACK_SEND_LITHDR_NVRIDX_V,
|
101
|
-
GRPC_STATS_COUNTER_HPACK_SEND_UNCOMPRESSED,
|
102
|
-
GRPC_STATS_COUNTER_HPACK_SEND_HUFFMAN,
|
103
|
-
GRPC_STATS_COUNTER_HPACK_SEND_BINARY,
|
104
|
-
GRPC_STATS_COUNTER_HPACK_SEND_BINARY_BASE64,
|
105
|
-
GRPC_STATS_COUNTER_COMBINER_LOCKS_INITIATED,
|
106
|
-
GRPC_STATS_COUNTER_COMBINER_LOCKS_SCHEDULED_ITEMS,
|
107
|
-
GRPC_STATS_COUNTER_COMBINER_LOCKS_SCHEDULED_FINAL_ITEMS,
|
108
|
-
GRPC_STATS_COUNTER_COMBINER_LOCKS_OFFLOADED,
|
109
|
-
GRPC_STATS_COUNTER_CALL_COMBINER_LOCKS_INITIATED,
|
110
|
-
GRPC_STATS_COUNTER_CALL_COMBINER_LOCKS_SCHEDULED_ITEMS,
|
111
|
-
GRPC_STATS_COUNTER_CALL_COMBINER_SET_NOTIFY_ON_CANCEL,
|
112
|
-
GRPC_STATS_COUNTER_CALL_COMBINER_CANCELLED,
|
113
|
-
GRPC_STATS_COUNTER_EXECUTOR_SCHEDULED_SHORT_ITEMS,
|
114
|
-
GRPC_STATS_COUNTER_EXECUTOR_SCHEDULED_LONG_ITEMS,
|
115
|
-
GRPC_STATS_COUNTER_EXECUTOR_SCHEDULED_TO_SELF,
|
116
|
-
GRPC_STATS_COUNTER_EXECUTOR_WAKEUP_INITIATED,
|
117
|
-
GRPC_STATS_COUNTER_EXECUTOR_QUEUE_DRAINED,
|
118
|
-
GRPC_STATS_COUNTER_EXECUTOR_PUSH_RETRIES,
|
119
|
-
GRPC_STATS_COUNTER_SERVER_REQUESTED_CALLS,
|
120
|
-
GRPC_STATS_COUNTER_SERVER_SLOWPATH_REQUESTS_QUEUED,
|
121
|
-
GRPC_STATS_COUNTER_CQ_EV_QUEUE_TRYLOCK_FAILURES,
|
122
|
-
GRPC_STATS_COUNTER_CQ_EV_QUEUE_TRYLOCK_SUCCESSES,
|
123
|
-
GRPC_STATS_COUNTER_CQ_EV_QUEUE_TRANSIENT_POP_FAILURES,
|
41
|
+
GRPC_STATS_COUNTER_HTTP2_TRANSPORT_STALLS,
|
42
|
+
GRPC_STATS_COUNTER_HTTP2_STREAM_STALLS,
|
43
|
+
GRPC_STATS_COUNTER_CQ_PLUCK_CREATES,
|
44
|
+
GRPC_STATS_COUNTER_CQ_NEXT_CREATES,
|
45
|
+
GRPC_STATS_COUNTER_CQ_CALLBACK_CREATES,
|
124
46
|
GRPC_STATS_COUNTER_COUNT
|
125
47
|
} grpc_stats_counters;
|
126
48
|
extern const char* grpc_stats_counter_name[GRPC_STATS_COUNTER_COUNT];
|
127
49
|
extern const char* grpc_stats_counter_doc[GRPC_STATS_COUNTER_COUNT];
|
128
50
|
typedef enum {
|
129
51
|
GRPC_STATS_HISTOGRAM_CALL_INITIAL_SIZE,
|
130
|
-
GRPC_STATS_HISTOGRAM_POLL_EVENTS_RETURNED,
|
131
52
|
GRPC_STATS_HISTOGRAM_TCP_WRITE_SIZE,
|
132
53
|
GRPC_STATS_HISTOGRAM_TCP_WRITE_IOV_SIZE,
|
133
54
|
GRPC_STATS_HISTOGRAM_TCP_READ_SIZE,
|
134
55
|
GRPC_STATS_HISTOGRAM_TCP_READ_OFFER,
|
135
56
|
GRPC_STATS_HISTOGRAM_TCP_READ_OFFER_IOV_SIZE,
|
136
57
|
GRPC_STATS_HISTOGRAM_HTTP2_SEND_MESSAGE_SIZE,
|
137
|
-
GRPC_STATS_HISTOGRAM_HTTP2_SEND_INITIAL_METADATA_PER_WRITE,
|
138
|
-
GRPC_STATS_HISTOGRAM_HTTP2_SEND_MESSAGE_PER_WRITE,
|
139
|
-
GRPC_STATS_HISTOGRAM_HTTP2_SEND_TRAILING_METADATA_PER_WRITE,
|
140
|
-
GRPC_STATS_HISTOGRAM_HTTP2_SEND_FLOWCTL_PER_WRITE,
|
141
|
-
GRPC_STATS_HISTOGRAM_SERVER_CQS_CHECKED,
|
142
58
|
GRPC_STATS_HISTOGRAM_COUNT
|
143
59
|
} grpc_stats_histograms;
|
144
60
|
extern const char* grpc_stats_histogram_name[GRPC_STATS_HISTOGRAM_COUNT];
|
145
61
|
extern const char* grpc_stats_histogram_doc[GRPC_STATS_HISTOGRAM_COUNT];
|
146
62
|
typedef enum {
|
147
63
|
GRPC_STATS_HISTOGRAM_CALL_INITIAL_SIZE_FIRST_SLOT = 0,
|
148
|
-
GRPC_STATS_HISTOGRAM_CALL_INITIAL_SIZE_BUCKETS =
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
GRPC_STATS_HISTOGRAM_HTTP2_SEND_MESSAGE_SIZE_BUCKETS = 64,
|
163
|
-
GRPC_STATS_HISTOGRAM_HTTP2_SEND_INITIAL_METADATA_PER_WRITE_FIRST_SLOT = 576,
|
164
|
-
GRPC_STATS_HISTOGRAM_HTTP2_SEND_INITIAL_METADATA_PER_WRITE_BUCKETS = 64,
|
165
|
-
GRPC_STATS_HISTOGRAM_HTTP2_SEND_MESSAGE_PER_WRITE_FIRST_SLOT = 640,
|
166
|
-
GRPC_STATS_HISTOGRAM_HTTP2_SEND_MESSAGE_PER_WRITE_BUCKETS = 64,
|
167
|
-
GRPC_STATS_HISTOGRAM_HTTP2_SEND_TRAILING_METADATA_PER_WRITE_FIRST_SLOT = 704,
|
168
|
-
GRPC_STATS_HISTOGRAM_HTTP2_SEND_TRAILING_METADATA_PER_WRITE_BUCKETS = 64,
|
169
|
-
GRPC_STATS_HISTOGRAM_HTTP2_SEND_FLOWCTL_PER_WRITE_FIRST_SLOT = 768,
|
170
|
-
GRPC_STATS_HISTOGRAM_HTTP2_SEND_FLOWCTL_PER_WRITE_BUCKETS = 64,
|
171
|
-
GRPC_STATS_HISTOGRAM_SERVER_CQS_CHECKED_FIRST_SLOT = 832,
|
172
|
-
GRPC_STATS_HISTOGRAM_SERVER_CQS_CHECKED_BUCKETS = 8,
|
173
|
-
GRPC_STATS_HISTOGRAM_BUCKETS = 840
|
64
|
+
GRPC_STATS_HISTOGRAM_CALL_INITIAL_SIZE_BUCKETS = 24,
|
65
|
+
GRPC_STATS_HISTOGRAM_TCP_WRITE_SIZE_FIRST_SLOT = 24,
|
66
|
+
GRPC_STATS_HISTOGRAM_TCP_WRITE_SIZE_BUCKETS = 20,
|
67
|
+
GRPC_STATS_HISTOGRAM_TCP_WRITE_IOV_SIZE_FIRST_SLOT = 44,
|
68
|
+
GRPC_STATS_HISTOGRAM_TCP_WRITE_IOV_SIZE_BUCKETS = 10,
|
69
|
+
GRPC_STATS_HISTOGRAM_TCP_READ_SIZE_FIRST_SLOT = 54,
|
70
|
+
GRPC_STATS_HISTOGRAM_TCP_READ_SIZE_BUCKETS = 20,
|
71
|
+
GRPC_STATS_HISTOGRAM_TCP_READ_OFFER_FIRST_SLOT = 74,
|
72
|
+
GRPC_STATS_HISTOGRAM_TCP_READ_OFFER_BUCKETS = 20,
|
73
|
+
GRPC_STATS_HISTOGRAM_TCP_READ_OFFER_IOV_SIZE_FIRST_SLOT = 94,
|
74
|
+
GRPC_STATS_HISTOGRAM_TCP_READ_OFFER_IOV_SIZE_BUCKETS = 10,
|
75
|
+
GRPC_STATS_HISTOGRAM_HTTP2_SEND_MESSAGE_SIZE_FIRST_SLOT = 104,
|
76
|
+
GRPC_STATS_HISTOGRAM_HTTP2_SEND_MESSAGE_SIZE_BUCKETS = 20,
|
77
|
+
GRPC_STATS_HISTOGRAM_BUCKETS = 124
|
174
78
|
} grpc_stats_histogram_constants;
|
175
|
-
#if defined(GRPC_COLLECT_STATS) || !defined(NDEBUG)
|
176
79
|
#define GRPC_STATS_INC_CLIENT_CALLS_CREATED() \
|
177
80
|
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_CLIENT_CALLS_CREATED)
|
178
81
|
#define GRPC_STATS_INC_SERVER_CALLS_CREATED() \
|
179
82
|
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_SERVER_CALLS_CREATED)
|
180
|
-
#define GRPC_STATS_INC_CQS_CREATED() \
|
181
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_CQS_CREATED)
|
182
83
|
#define GRPC_STATS_INC_CLIENT_CHANNELS_CREATED() \
|
183
84
|
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_CLIENT_CHANNELS_CREATED)
|
184
85
|
#define GRPC_STATS_INC_CLIENT_SUBCHANNELS_CREATED() \
|
185
86
|
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_CLIENT_SUBCHANNELS_CREATED)
|
186
87
|
#define GRPC_STATS_INC_SERVER_CHANNELS_CREATED() \
|
187
88
|
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_SERVER_CHANNELS_CREATED)
|
188
|
-
#define GRPC_STATS_INC_SYSCALL_POLL() \
|
189
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_SYSCALL_POLL)
|
190
|
-
#define GRPC_STATS_INC_SYSCALL_WAIT() \
|
191
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_SYSCALL_WAIT)
|
192
|
-
#define GRPC_STATS_INC_POLLSET_KICK() \
|
193
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_POLLSET_KICK)
|
194
|
-
#define GRPC_STATS_INC_POLLSET_KICKED_WITHOUT_POLLER() \
|
195
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_POLLSET_KICKED_WITHOUT_POLLER)
|
196
|
-
#define GRPC_STATS_INC_POLLSET_KICKED_AGAIN() \
|
197
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_POLLSET_KICKED_AGAIN)
|
198
|
-
#define GRPC_STATS_INC_POLLSET_KICK_WAKEUP_FD() \
|
199
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_POLLSET_KICK_WAKEUP_FD)
|
200
|
-
#define GRPC_STATS_INC_POLLSET_KICK_WAKEUP_CV() \
|
201
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_POLLSET_KICK_WAKEUP_CV)
|
202
|
-
#define GRPC_STATS_INC_POLLSET_KICK_OWN_THREAD() \
|
203
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_POLLSET_KICK_OWN_THREAD)
|
204
|
-
#define GRPC_STATS_INC_HISTOGRAM_SLOW_LOOKUPS() \
|
205
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_HISTOGRAM_SLOW_LOOKUPS)
|
206
89
|
#define GRPC_STATS_INC_SYSCALL_WRITE() \
|
207
90
|
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_SYSCALL_WRITE)
|
208
91
|
#define GRPC_STATS_INC_SYSCALL_READ() \
|
209
92
|
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_SYSCALL_READ)
|
210
|
-
#define
|
211
|
-
GRPC_STATS_INC_COUNTER(
|
212
|
-
#define
|
213
|
-
GRPC_STATS_INC_COUNTER(
|
214
|
-
#define GRPC_STATS_INC_HTTP2_OP_BATCHES() \
|
215
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_HTTP2_OP_BATCHES)
|
216
|
-
#define GRPC_STATS_INC_HTTP2_OP_CANCEL() \
|
217
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_HTTP2_OP_CANCEL)
|
218
|
-
#define GRPC_STATS_INC_HTTP2_OP_SEND_INITIAL_METADATA() \
|
219
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_HTTP2_OP_SEND_INITIAL_METADATA)
|
220
|
-
#define GRPC_STATS_INC_HTTP2_OP_SEND_MESSAGE() \
|
221
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_HTTP2_OP_SEND_MESSAGE)
|
222
|
-
#define GRPC_STATS_INC_HTTP2_OP_SEND_TRAILING_METADATA() \
|
223
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_HTTP2_OP_SEND_TRAILING_METADATA)
|
224
|
-
#define GRPC_STATS_INC_HTTP2_OP_RECV_INITIAL_METADATA() \
|
225
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_HTTP2_OP_RECV_INITIAL_METADATA)
|
226
|
-
#define GRPC_STATS_INC_HTTP2_OP_RECV_MESSAGE() \
|
227
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_HTTP2_OP_RECV_MESSAGE)
|
228
|
-
#define GRPC_STATS_INC_HTTP2_OP_RECV_TRAILING_METADATA() \
|
229
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_HTTP2_OP_RECV_TRAILING_METADATA)
|
93
|
+
#define GRPC_STATS_INC_TCP_READ_ALLOC_8K() \
|
94
|
+
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_TCP_READ_ALLOC_8K)
|
95
|
+
#define GRPC_STATS_INC_TCP_READ_ALLOC_64K() \
|
96
|
+
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_TCP_READ_ALLOC_64K)
|
230
97
|
#define GRPC_STATS_INC_HTTP2_SETTINGS_WRITES() \
|
231
98
|
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_HTTP2_SETTINGS_WRITES)
|
232
99
|
#define GRPC_STATS_INC_HTTP2_PINGS_SENT() \
|
233
100
|
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_HTTP2_PINGS_SENT)
|
234
101
|
#define GRPC_STATS_INC_HTTP2_WRITES_BEGUN() \
|
235
102
|
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_HTTP2_WRITES_BEGUN)
|
236
|
-
#define
|
237
|
-
GRPC_STATS_INC_COUNTER(
|
238
|
-
#define
|
239
|
-
GRPC_STATS_INC_COUNTER(
|
240
|
-
#define
|
241
|
-
GRPC_STATS_INC_COUNTER(
|
242
|
-
#define
|
243
|
-
GRPC_STATS_INC_COUNTER(
|
244
|
-
|
245
|
-
|
246
|
-
GRPC_STATS_INC_COUNTER( \
|
247
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_START_NEW_STREAM)
|
248
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_SEND_MESSAGE() \
|
249
|
-
GRPC_STATS_INC_COUNTER( \
|
250
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_SEND_MESSAGE)
|
251
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_SEND_INITIAL_METADATA() \
|
252
|
-
GRPC_STATS_INC_COUNTER( \
|
253
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_SEND_INITIAL_METADATA)
|
254
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_SEND_TRAILING_METADATA() \
|
255
|
-
GRPC_STATS_INC_COUNTER( \
|
256
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_SEND_TRAILING_METADATA)
|
257
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_RETRY_SEND_PING() \
|
258
|
-
GRPC_STATS_INC_COUNTER( \
|
259
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_RETRY_SEND_PING)
|
260
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_CONTINUE_PINGS() \
|
261
|
-
GRPC_STATS_INC_COUNTER( \
|
262
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_CONTINUE_PINGS)
|
263
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_GOAWAY_SENT() \
|
264
|
-
GRPC_STATS_INC_COUNTER( \
|
265
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_GOAWAY_SENT)
|
266
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_RST_STREAM() \
|
267
|
-
GRPC_STATS_INC_COUNTER( \
|
268
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_RST_STREAM)
|
269
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_CLOSE_FROM_API() \
|
270
|
-
GRPC_STATS_INC_COUNTER( \
|
271
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_CLOSE_FROM_API)
|
272
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_STREAM_FLOW_CONTROL() \
|
273
|
-
GRPC_STATS_INC_COUNTER( \
|
274
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_STREAM_FLOW_CONTROL)
|
275
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_TRANSPORT_FLOW_CONTROL() \
|
276
|
-
GRPC_STATS_INC_COUNTER( \
|
277
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_TRANSPORT_FLOW_CONTROL)
|
278
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_SEND_SETTINGS() \
|
279
|
-
GRPC_STATS_INC_COUNTER( \
|
280
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_SEND_SETTINGS)
|
281
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_SETTINGS_ACK() \
|
282
|
-
GRPC_STATS_INC_COUNTER( \
|
283
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_SETTINGS_ACK)
|
284
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_BDP_ESTIMATOR_PING() \
|
285
|
-
GRPC_STATS_INC_COUNTER( \
|
286
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_BDP_ESTIMATOR_PING)
|
287
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_FLOW_CONTROL_UNSTALLED_BY_SETTING() \
|
288
|
-
GRPC_STATS_INC_COUNTER( \
|
289
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_FLOW_CONTROL_UNSTALLED_BY_SETTING)
|
290
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_FLOW_CONTROL_UNSTALLED_BY_UPDATE() \
|
291
|
-
GRPC_STATS_INC_COUNTER( \
|
292
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_FLOW_CONTROL_UNSTALLED_BY_UPDATE)
|
293
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_APPLICATION_PING() \
|
294
|
-
GRPC_STATS_INC_COUNTER( \
|
295
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_APPLICATION_PING)
|
296
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_KEEPALIVE_PING() \
|
297
|
-
GRPC_STATS_INC_COUNTER( \
|
298
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_KEEPALIVE_PING)
|
299
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_TRANSPORT_FLOW_CONTROL_UNSTALLED() \
|
300
|
-
GRPC_STATS_INC_COUNTER( \
|
301
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_TRANSPORT_FLOW_CONTROL_UNSTALLED)
|
302
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_PING_RESPONSE() \
|
303
|
-
GRPC_STATS_INC_COUNTER( \
|
304
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_PING_RESPONSE)
|
305
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_FORCE_RST_STREAM() \
|
306
|
-
GRPC_STATS_INC_COUNTER( \
|
307
|
-
GRPC_STATS_COUNTER_HTTP2_INITIATE_WRITE_DUE_TO_FORCE_RST_STREAM)
|
308
|
-
#define GRPC_STATS_INC_HTTP2_SPURIOUS_WRITES_BEGUN() \
|
309
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_HTTP2_SPURIOUS_WRITES_BEGUN)
|
310
|
-
#define GRPC_STATS_INC_HPACK_RECV_INDEXED() \
|
311
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_HPACK_RECV_INDEXED)
|
312
|
-
#define GRPC_STATS_INC_HPACK_RECV_LITHDR_INCIDX() \
|
313
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_HPACK_RECV_LITHDR_INCIDX)
|
314
|
-
#define GRPC_STATS_INC_HPACK_RECV_LITHDR_INCIDX_V() \
|
315
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_HPACK_RECV_LITHDR_INCIDX_V)
|
316
|
-
#define GRPC_STATS_INC_HPACK_RECV_LITHDR_NOTIDX() \
|
317
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_HPACK_RECV_LITHDR_NOTIDX)
|
318
|
-
#define GRPC_STATS_INC_HPACK_RECV_LITHDR_NOTIDX_V() \
|
319
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_HPACK_RECV_LITHDR_NOTIDX_V)
|
320
|
-
#define GRPC_STATS_INC_HPACK_RECV_LITHDR_NVRIDX() \
|
321
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_HPACK_RECV_LITHDR_NVRIDX)
|
322
|
-
#define GRPC_STATS_INC_HPACK_RECV_LITHDR_NVRIDX_V() \
|
323
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_HPACK_RECV_LITHDR_NVRIDX_V)
|
324
|
-
#define GRPC_STATS_INC_HPACK_RECV_UNCOMPRESSED() \
|
325
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_HPACK_RECV_UNCOMPRESSED)
|
326
|
-
#define GRPC_STATS_INC_HPACK_RECV_HUFFMAN() \
|
327
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_HPACK_RECV_HUFFMAN)
|
328
|
-
#define GRPC_STATS_INC_HPACK_RECV_BINARY() \
|
329
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_HPACK_RECV_BINARY)
|
330
|
-
#define GRPC_STATS_INC_HPACK_RECV_BINARY_BASE64() \
|
331
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_HPACK_RECV_BINARY_BASE64)
|
332
|
-
#define GRPC_STATS_INC_HPACK_SEND_INDEXED() \
|
333
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_HPACK_SEND_INDEXED)
|
334
|
-
#define GRPC_STATS_INC_HPACK_SEND_LITHDR_INCIDX() \
|
335
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_HPACK_SEND_LITHDR_INCIDX)
|
336
|
-
#define GRPC_STATS_INC_HPACK_SEND_LITHDR_INCIDX_V() \
|
337
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_HPACK_SEND_LITHDR_INCIDX_V)
|
338
|
-
#define GRPC_STATS_INC_HPACK_SEND_LITHDR_NOTIDX() \
|
339
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_HPACK_SEND_LITHDR_NOTIDX)
|
340
|
-
#define GRPC_STATS_INC_HPACK_SEND_LITHDR_NOTIDX_V() \
|
341
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_HPACK_SEND_LITHDR_NOTIDX_V)
|
342
|
-
#define GRPC_STATS_INC_HPACK_SEND_LITHDR_NVRIDX() \
|
343
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_HPACK_SEND_LITHDR_NVRIDX)
|
344
|
-
#define GRPC_STATS_INC_HPACK_SEND_LITHDR_NVRIDX_V() \
|
345
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_HPACK_SEND_LITHDR_NVRIDX_V)
|
346
|
-
#define GRPC_STATS_INC_HPACK_SEND_UNCOMPRESSED() \
|
347
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_HPACK_SEND_UNCOMPRESSED)
|
348
|
-
#define GRPC_STATS_INC_HPACK_SEND_HUFFMAN() \
|
349
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_HPACK_SEND_HUFFMAN)
|
350
|
-
#define GRPC_STATS_INC_HPACK_SEND_BINARY() \
|
351
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_HPACK_SEND_BINARY)
|
352
|
-
#define GRPC_STATS_INC_HPACK_SEND_BINARY_BASE64() \
|
353
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_HPACK_SEND_BINARY_BASE64)
|
354
|
-
#define GRPC_STATS_INC_COMBINER_LOCKS_INITIATED() \
|
355
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_COMBINER_LOCKS_INITIATED)
|
356
|
-
#define GRPC_STATS_INC_COMBINER_LOCKS_SCHEDULED_ITEMS() \
|
357
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_COMBINER_LOCKS_SCHEDULED_ITEMS)
|
358
|
-
#define GRPC_STATS_INC_COMBINER_LOCKS_SCHEDULED_FINAL_ITEMS() \
|
359
|
-
GRPC_STATS_INC_COUNTER( \
|
360
|
-
GRPC_STATS_COUNTER_COMBINER_LOCKS_SCHEDULED_FINAL_ITEMS)
|
361
|
-
#define GRPC_STATS_INC_COMBINER_LOCKS_OFFLOADED() \
|
362
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_COMBINER_LOCKS_OFFLOADED)
|
363
|
-
#define GRPC_STATS_INC_CALL_COMBINER_LOCKS_INITIATED() \
|
364
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_CALL_COMBINER_LOCKS_INITIATED)
|
365
|
-
#define GRPC_STATS_INC_CALL_COMBINER_LOCKS_SCHEDULED_ITEMS() \
|
366
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_CALL_COMBINER_LOCKS_SCHEDULED_ITEMS)
|
367
|
-
#define GRPC_STATS_INC_CALL_COMBINER_SET_NOTIFY_ON_CANCEL() \
|
368
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_CALL_COMBINER_SET_NOTIFY_ON_CANCEL)
|
369
|
-
#define GRPC_STATS_INC_CALL_COMBINER_CANCELLED() \
|
370
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_CALL_COMBINER_CANCELLED)
|
371
|
-
#define GRPC_STATS_INC_EXECUTOR_SCHEDULED_SHORT_ITEMS() \
|
372
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_EXECUTOR_SCHEDULED_SHORT_ITEMS)
|
373
|
-
#define GRPC_STATS_INC_EXECUTOR_SCHEDULED_LONG_ITEMS() \
|
374
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_EXECUTOR_SCHEDULED_LONG_ITEMS)
|
375
|
-
#define GRPC_STATS_INC_EXECUTOR_SCHEDULED_TO_SELF() \
|
376
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_EXECUTOR_SCHEDULED_TO_SELF)
|
377
|
-
#define GRPC_STATS_INC_EXECUTOR_WAKEUP_INITIATED() \
|
378
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_EXECUTOR_WAKEUP_INITIATED)
|
379
|
-
#define GRPC_STATS_INC_EXECUTOR_QUEUE_DRAINED() \
|
380
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_EXECUTOR_QUEUE_DRAINED)
|
381
|
-
#define GRPC_STATS_INC_EXECUTOR_PUSH_RETRIES() \
|
382
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_EXECUTOR_PUSH_RETRIES)
|
383
|
-
#define GRPC_STATS_INC_SERVER_REQUESTED_CALLS() \
|
384
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_SERVER_REQUESTED_CALLS)
|
385
|
-
#define GRPC_STATS_INC_SERVER_SLOWPATH_REQUESTS_QUEUED() \
|
386
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_SERVER_SLOWPATH_REQUESTS_QUEUED)
|
387
|
-
#define GRPC_STATS_INC_CQ_EV_QUEUE_TRYLOCK_FAILURES() \
|
388
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_CQ_EV_QUEUE_TRYLOCK_FAILURES)
|
389
|
-
#define GRPC_STATS_INC_CQ_EV_QUEUE_TRYLOCK_SUCCESSES() \
|
390
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_CQ_EV_QUEUE_TRYLOCK_SUCCESSES)
|
391
|
-
#define GRPC_STATS_INC_CQ_EV_QUEUE_TRANSIENT_POP_FAILURES() \
|
392
|
-
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_CQ_EV_QUEUE_TRANSIENT_POP_FAILURES)
|
103
|
+
#define GRPC_STATS_INC_HTTP2_TRANSPORT_STALLS() \
|
104
|
+
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_HTTP2_TRANSPORT_STALLS)
|
105
|
+
#define GRPC_STATS_INC_HTTP2_STREAM_STALLS() \
|
106
|
+
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_HTTP2_STREAM_STALLS)
|
107
|
+
#define GRPC_STATS_INC_CQ_PLUCK_CREATES() \
|
108
|
+
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_CQ_PLUCK_CREATES)
|
109
|
+
#define GRPC_STATS_INC_CQ_NEXT_CREATES() \
|
110
|
+
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_CQ_NEXT_CREATES)
|
111
|
+
#define GRPC_STATS_INC_CQ_CALLBACK_CREATES() \
|
112
|
+
GRPC_STATS_INC_COUNTER(GRPC_STATS_COUNTER_CQ_CALLBACK_CREATES)
|
393
113
|
#define GRPC_STATS_INC_CALL_INITIAL_SIZE(value) \
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
grpc_stats_inc_poll_events_returned((int)(value))
|
398
|
-
void grpc_stats_inc_poll_events_returned(int x);
|
114
|
+
GRPC_STATS_INC_HISTOGRAM( \
|
115
|
+
GRPC_STATS_HISTOGRAM_CALL_INITIAL_SIZE, \
|
116
|
+
grpc_core::BucketForHistogramValue_32768_24(static_cast<int>(value)))
|
399
117
|
#define GRPC_STATS_INC_TCP_WRITE_SIZE(value) \
|
400
|
-
|
401
|
-
|
118
|
+
GRPC_STATS_INC_HISTOGRAM( \
|
119
|
+
GRPC_STATS_HISTOGRAM_TCP_WRITE_SIZE, \
|
120
|
+
grpc_core::BucketForHistogramValue_16777216_20(static_cast<int>(value)))
|
402
121
|
#define GRPC_STATS_INC_TCP_WRITE_IOV_SIZE(value) \
|
403
|
-
|
404
|
-
|
122
|
+
GRPC_STATS_INC_HISTOGRAM( \
|
123
|
+
GRPC_STATS_HISTOGRAM_TCP_WRITE_IOV_SIZE, \
|
124
|
+
grpc_core::BucketForHistogramValue_80_10(static_cast<int>(value)))
|
405
125
|
#define GRPC_STATS_INC_TCP_READ_SIZE(value) \
|
406
|
-
|
407
|
-
|
126
|
+
GRPC_STATS_INC_HISTOGRAM( \
|
127
|
+
GRPC_STATS_HISTOGRAM_TCP_READ_SIZE, \
|
128
|
+
grpc_core::BucketForHistogramValue_16777216_20(static_cast<int>(value)))
|
408
129
|
#define GRPC_STATS_INC_TCP_READ_OFFER(value) \
|
409
|
-
|
410
|
-
|
130
|
+
GRPC_STATS_INC_HISTOGRAM( \
|
131
|
+
GRPC_STATS_HISTOGRAM_TCP_READ_OFFER, \
|
132
|
+
grpc_core::BucketForHistogramValue_16777216_20(static_cast<int>(value)))
|
411
133
|
#define GRPC_STATS_INC_TCP_READ_OFFER_IOV_SIZE(value) \
|
412
|
-
|
413
|
-
|
134
|
+
GRPC_STATS_INC_HISTOGRAM( \
|
135
|
+
GRPC_STATS_HISTOGRAM_TCP_READ_OFFER_IOV_SIZE, \
|
136
|
+
grpc_core::BucketForHistogramValue_80_10(static_cast<int>(value)))
|
414
137
|
#define GRPC_STATS_INC_HTTP2_SEND_MESSAGE_SIZE(value) \
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
grpc_stats_inc_http2_send_flowctl_per_write((int)(value))
|
428
|
-
void grpc_stats_inc_http2_send_flowctl_per_write(int x);
|
429
|
-
#define GRPC_STATS_INC_SERVER_CQS_CHECKED(value) \
|
430
|
-
grpc_stats_inc_server_cqs_checked((int)(value))
|
431
|
-
void grpc_stats_inc_server_cqs_checked(int x);
|
432
|
-
#else
|
433
|
-
#define GRPC_STATS_INC_CLIENT_CALLS_CREATED()
|
434
|
-
#define GRPC_STATS_INC_SERVER_CALLS_CREATED()
|
435
|
-
#define GRPC_STATS_INC_CQS_CREATED()
|
436
|
-
#define GRPC_STATS_INC_CLIENT_CHANNELS_CREATED()
|
437
|
-
#define GRPC_STATS_INC_CLIENT_SUBCHANNELS_CREATED()
|
438
|
-
#define GRPC_STATS_INC_SERVER_CHANNELS_CREATED()
|
439
|
-
#define GRPC_STATS_INC_SYSCALL_POLL()
|
440
|
-
#define GRPC_STATS_INC_SYSCALL_WAIT()
|
441
|
-
#define GRPC_STATS_INC_POLLSET_KICK()
|
442
|
-
#define GRPC_STATS_INC_POLLSET_KICKED_WITHOUT_POLLER()
|
443
|
-
#define GRPC_STATS_INC_POLLSET_KICKED_AGAIN()
|
444
|
-
#define GRPC_STATS_INC_POLLSET_KICK_WAKEUP_FD()
|
445
|
-
#define GRPC_STATS_INC_POLLSET_KICK_WAKEUP_CV()
|
446
|
-
#define GRPC_STATS_INC_POLLSET_KICK_OWN_THREAD()
|
447
|
-
#define GRPC_STATS_INC_HISTOGRAM_SLOW_LOOKUPS()
|
448
|
-
#define GRPC_STATS_INC_SYSCALL_WRITE()
|
449
|
-
#define GRPC_STATS_INC_SYSCALL_READ()
|
450
|
-
#define GRPC_STATS_INC_TCP_BACKUP_POLLERS_CREATED()
|
451
|
-
#define GRPC_STATS_INC_TCP_BACKUP_POLLER_POLLS()
|
452
|
-
#define GRPC_STATS_INC_HTTP2_OP_BATCHES()
|
453
|
-
#define GRPC_STATS_INC_HTTP2_OP_CANCEL()
|
454
|
-
#define GRPC_STATS_INC_HTTP2_OP_SEND_INITIAL_METADATA()
|
455
|
-
#define GRPC_STATS_INC_HTTP2_OP_SEND_MESSAGE()
|
456
|
-
#define GRPC_STATS_INC_HTTP2_OP_SEND_TRAILING_METADATA()
|
457
|
-
#define GRPC_STATS_INC_HTTP2_OP_RECV_INITIAL_METADATA()
|
458
|
-
#define GRPC_STATS_INC_HTTP2_OP_RECV_MESSAGE()
|
459
|
-
#define GRPC_STATS_INC_HTTP2_OP_RECV_TRAILING_METADATA()
|
460
|
-
#define GRPC_STATS_INC_HTTP2_SETTINGS_WRITES()
|
461
|
-
#define GRPC_STATS_INC_HTTP2_PINGS_SENT()
|
462
|
-
#define GRPC_STATS_INC_HTTP2_WRITES_BEGUN()
|
463
|
-
#define GRPC_STATS_INC_HTTP2_WRITES_OFFLOADED()
|
464
|
-
#define GRPC_STATS_INC_HTTP2_WRITES_CONTINUED()
|
465
|
-
#define GRPC_STATS_INC_HTTP2_PARTIAL_WRITES()
|
466
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_INITIAL_WRITE()
|
467
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_START_NEW_STREAM()
|
468
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_SEND_MESSAGE()
|
469
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_SEND_INITIAL_METADATA()
|
470
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_SEND_TRAILING_METADATA()
|
471
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_RETRY_SEND_PING()
|
472
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_CONTINUE_PINGS()
|
473
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_GOAWAY_SENT()
|
474
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_RST_STREAM()
|
475
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_CLOSE_FROM_API()
|
476
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_STREAM_FLOW_CONTROL()
|
477
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_TRANSPORT_FLOW_CONTROL()
|
478
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_SEND_SETTINGS()
|
479
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_SETTINGS_ACK()
|
480
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_BDP_ESTIMATOR_PING()
|
481
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_FLOW_CONTROL_UNSTALLED_BY_SETTING()
|
482
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_FLOW_CONTROL_UNSTALLED_BY_UPDATE()
|
483
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_APPLICATION_PING()
|
484
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_KEEPALIVE_PING()
|
485
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_TRANSPORT_FLOW_CONTROL_UNSTALLED()
|
486
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_PING_RESPONSE()
|
487
|
-
#define GRPC_STATS_INC_HTTP2_INITIATE_WRITE_DUE_TO_FORCE_RST_STREAM()
|
488
|
-
#define GRPC_STATS_INC_HTTP2_SPURIOUS_WRITES_BEGUN()
|
489
|
-
#define GRPC_STATS_INC_HPACK_RECV_INDEXED()
|
490
|
-
#define GRPC_STATS_INC_HPACK_RECV_LITHDR_INCIDX()
|
491
|
-
#define GRPC_STATS_INC_HPACK_RECV_LITHDR_INCIDX_V()
|
492
|
-
#define GRPC_STATS_INC_HPACK_RECV_LITHDR_NOTIDX()
|
493
|
-
#define GRPC_STATS_INC_HPACK_RECV_LITHDR_NOTIDX_V()
|
494
|
-
#define GRPC_STATS_INC_HPACK_RECV_LITHDR_NVRIDX()
|
495
|
-
#define GRPC_STATS_INC_HPACK_RECV_LITHDR_NVRIDX_V()
|
496
|
-
#define GRPC_STATS_INC_HPACK_RECV_UNCOMPRESSED()
|
497
|
-
#define GRPC_STATS_INC_HPACK_RECV_HUFFMAN()
|
498
|
-
#define GRPC_STATS_INC_HPACK_RECV_BINARY()
|
499
|
-
#define GRPC_STATS_INC_HPACK_RECV_BINARY_BASE64()
|
500
|
-
#define GRPC_STATS_INC_HPACK_SEND_INDEXED()
|
501
|
-
#define GRPC_STATS_INC_HPACK_SEND_LITHDR_INCIDX()
|
502
|
-
#define GRPC_STATS_INC_HPACK_SEND_LITHDR_INCIDX_V()
|
503
|
-
#define GRPC_STATS_INC_HPACK_SEND_LITHDR_NOTIDX()
|
504
|
-
#define GRPC_STATS_INC_HPACK_SEND_LITHDR_NOTIDX_V()
|
505
|
-
#define GRPC_STATS_INC_HPACK_SEND_LITHDR_NVRIDX()
|
506
|
-
#define GRPC_STATS_INC_HPACK_SEND_LITHDR_NVRIDX_V()
|
507
|
-
#define GRPC_STATS_INC_HPACK_SEND_UNCOMPRESSED()
|
508
|
-
#define GRPC_STATS_INC_HPACK_SEND_HUFFMAN()
|
509
|
-
#define GRPC_STATS_INC_HPACK_SEND_BINARY()
|
510
|
-
#define GRPC_STATS_INC_HPACK_SEND_BINARY_BASE64()
|
511
|
-
#define GRPC_STATS_INC_COMBINER_LOCKS_INITIATED()
|
512
|
-
#define GRPC_STATS_INC_COMBINER_LOCKS_SCHEDULED_ITEMS()
|
513
|
-
#define GRPC_STATS_INC_COMBINER_LOCKS_SCHEDULED_FINAL_ITEMS()
|
514
|
-
#define GRPC_STATS_INC_COMBINER_LOCKS_OFFLOADED()
|
515
|
-
#define GRPC_STATS_INC_CALL_COMBINER_LOCKS_INITIATED()
|
516
|
-
#define GRPC_STATS_INC_CALL_COMBINER_LOCKS_SCHEDULED_ITEMS()
|
517
|
-
#define GRPC_STATS_INC_CALL_COMBINER_SET_NOTIFY_ON_CANCEL()
|
518
|
-
#define GRPC_STATS_INC_CALL_COMBINER_CANCELLED()
|
519
|
-
#define GRPC_STATS_INC_EXECUTOR_SCHEDULED_SHORT_ITEMS()
|
520
|
-
#define GRPC_STATS_INC_EXECUTOR_SCHEDULED_LONG_ITEMS()
|
521
|
-
#define GRPC_STATS_INC_EXECUTOR_SCHEDULED_TO_SELF()
|
522
|
-
#define GRPC_STATS_INC_EXECUTOR_WAKEUP_INITIATED()
|
523
|
-
#define GRPC_STATS_INC_EXECUTOR_QUEUE_DRAINED()
|
524
|
-
#define GRPC_STATS_INC_EXECUTOR_PUSH_RETRIES()
|
525
|
-
#define GRPC_STATS_INC_SERVER_REQUESTED_CALLS()
|
526
|
-
#define GRPC_STATS_INC_SERVER_SLOWPATH_REQUESTS_QUEUED()
|
527
|
-
#define GRPC_STATS_INC_CQ_EV_QUEUE_TRYLOCK_FAILURES()
|
528
|
-
#define GRPC_STATS_INC_CQ_EV_QUEUE_TRYLOCK_SUCCESSES()
|
529
|
-
#define GRPC_STATS_INC_CQ_EV_QUEUE_TRANSIENT_POP_FAILURES()
|
530
|
-
#define GRPC_STATS_INC_CALL_INITIAL_SIZE(value)
|
531
|
-
#define GRPC_STATS_INC_POLL_EVENTS_RETURNED(value)
|
532
|
-
#define GRPC_STATS_INC_TCP_WRITE_SIZE(value)
|
533
|
-
#define GRPC_STATS_INC_TCP_WRITE_IOV_SIZE(value)
|
534
|
-
#define GRPC_STATS_INC_TCP_READ_SIZE(value)
|
535
|
-
#define GRPC_STATS_INC_TCP_READ_OFFER(value)
|
536
|
-
#define GRPC_STATS_INC_TCP_READ_OFFER_IOV_SIZE(value)
|
537
|
-
#define GRPC_STATS_INC_HTTP2_SEND_MESSAGE_SIZE(value)
|
538
|
-
#define GRPC_STATS_INC_HTTP2_SEND_INITIAL_METADATA_PER_WRITE(value)
|
539
|
-
#define GRPC_STATS_INC_HTTP2_SEND_MESSAGE_PER_WRITE(value)
|
540
|
-
#define GRPC_STATS_INC_HTTP2_SEND_TRAILING_METADATA_PER_WRITE(value)
|
541
|
-
#define GRPC_STATS_INC_HTTP2_SEND_FLOWCTL_PER_WRITE(value)
|
542
|
-
#define GRPC_STATS_INC_SERVER_CQS_CHECKED(value)
|
543
|
-
#endif /* defined(GRPC_COLLECT_STATS) || !defined(NDEBUG) */
|
544
|
-
extern const int grpc_stats_histo_buckets[13];
|
545
|
-
extern const int grpc_stats_histo_start[13];
|
546
|
-
extern const int* const grpc_stats_histo_bucket_boundaries[13];
|
547
|
-
extern void (*const grpc_stats_inc_histogram[13])(int x);
|
138
|
+
GRPC_STATS_INC_HISTOGRAM( \
|
139
|
+
GRPC_STATS_HISTOGRAM_HTTP2_SEND_MESSAGE_SIZE, \
|
140
|
+
grpc_core::BucketForHistogramValue_16777216_20(static_cast<int>(value)))
|
141
|
+
namespace grpc_core {
|
142
|
+
int BucketForHistogramValue_32768_24(int value);
|
143
|
+
int BucketForHistogramValue_16777216_20(int value);
|
144
|
+
int BucketForHistogramValue_80_10(int value);
|
145
|
+
} // namespace grpc_core
|
146
|
+
extern const int grpc_stats_histo_buckets[7];
|
147
|
+
extern const int grpc_stats_histo_start[7];
|
148
|
+
extern const int* const grpc_stats_histo_bucket_boundaries[7];
|
149
|
+
extern int (*const grpc_stats_get_bucket[7])(int value);
|
548
150
|
|
549
151
|
#endif /* GRPC_CORE_LIB_DEBUG_STATS_DATA_H */
|
data/src/core/lib/debug/trace.cc
CHANGED
@@ -15,33 +15,25 @@
|
|
15
15
|
|
16
16
|
#include "src/core/lib/event_engine/channel_args_endpoint_config.h"
|
17
17
|
|
18
|
-
#include
|
19
|
-
|
20
|
-
#include "absl/types/variant.h"
|
21
|
-
|
22
|
-
#include <grpc/event_engine/endpoint_config.h>
|
23
|
-
#include <grpc/impl/codegen/grpc_types.h>
|
18
|
+
#include "absl/types/optional.h"
|
24
19
|
|
25
20
|
#include "src/core/lib/channel/channel_args.h"
|
26
21
|
|
27
22
|
namespace grpc_event_engine {
|
28
23
|
namespace experimental {
|
29
24
|
|
30
|
-
|
25
|
+
absl::optional<int> ChannelArgsEndpointConfig::GetInt(
|
31
26
|
absl::string_view key) const {
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
return arg->value.pointer.p;
|
43
|
-
}
|
44
|
-
GPR_UNREACHABLE_CODE(return absl::monostate());
|
27
|
+
return args_.GetInt(key);
|
28
|
+
}
|
29
|
+
|
30
|
+
absl::optional<absl::string_view> ChannelArgsEndpointConfig::GetString(
|
31
|
+
absl::string_view key) const {
|
32
|
+
return args_.GetString(key);
|
33
|
+
}
|
34
|
+
|
35
|
+
void* ChannelArgsEndpointConfig::GetVoidPointer(absl::string_view key) const {
|
36
|
+
return args_.GetVoidPointer(key);
|
45
37
|
}
|
46
38
|
|
47
39
|
} // namespace experimental
|