[client channel] move backend metric code to its own BUILD targets

pull/35879/head
Mark D. Roth 1 year ago
parent 41606054c2
commit 1f9e5229d5
  1. 70
      BUILD
  2. 4
      CMakeLists.txt
  3. 4
      Makefile
  4. 4
      Package.swift
  5. 8
      build_autogenerated.yaml
  6. 2
      config.m4
  7. 2
      config.w32
  8. 8
      gRPC-C++.podspec
  9. 10
      gRPC-Core.podspec
  10. 4
      grpc.gemspec
  11. 4
      grpc.gyp
  12. 4
      package.xml
  13. 1
      src/core/BUILD
  14. 6
      src/core/client_channel/client_channel_filter.cc
  15. 2
      src/core/load_balancing/backend_metric_parser.cc
  16. 6
      src/core/load_balancing/backend_metric_parser.h
  17. 4
      src/core/load_balancing/oob_backend_metric.cc
  18. 2
      src/core/load_balancing/oob_backend_metric.h
  19. 2
      src/python/grpcio/grpc_core_dependencies.py
  20. 1
      test/core/client_channel/lb_policy/BUILD
  21. 1
      test/core/util/BUILD
  22. 4
      tools/doxygen/Doxyfile.c++.internal
  23. 4
      tools/doxygen/Doxyfile.core.internal

70
BUILD

@ -3002,10 +3002,73 @@ grpc_cc_library(
],
)
grpc_cc_library(
name = "backend_metric_parser",
srcs = [
"//src/core:load_balancing/backend_metric_parser.cc",
],
hdrs = [
"//src/core:load_balancing/backend_metric_parser.h",
],
external_deps = [
"absl/strings",
"upb_base_lib",
"upb_mem_lib",
"upb_message_lib",
],
language = "c++",
deps = [
"gpr_platform",
"xds_orca_upb",
"//src/core:grpc_backend_metric_data",
],
)
grpc_cc_library(
name = "oob_backend_metric",
srcs = [
"//src/core:load_balancing/oob_backend_metric.cc",
],
hdrs = [
"//src/core:load_balancing/oob_backend_metric.h",
"//src/core:load_balancing/oob_backend_metric_internal.h",
],
external_deps = [
"absl/base:core_headers",
"absl/status",
"absl/strings",
"upb_base_lib",
"upb_mem_lib",
],
language = "c++",
deps = [
"backend_metric_parser",
"debug_location",
"exec_ctx",
"gpr",
"grpc_base",
"grpc_client_channel",
"grpc_trace",
"orphanable",
"protobuf_duration_upb",
"ref_counted_ptr",
"xds_orca_service_upb",
"xds_orca_upb",
"//src/core:closure",
"//src/core:error",
"//src/core:grpc_backend_metric_data",
"//src/core:iomgr_fwd",
"//src/core:pollset_set",
"//src/core:slice",
"//src/core:subchannel_interface",
"//src/core:time",
"//src/core:unique_type_name",
],
)
grpc_cc_library(
name = "grpc_client_channel",
srcs = [
"//src/core:client_channel/backend_metric.cc",
"//src/core:client_channel/backup_poller.cc",
"//src/core:client_channel/channel_connectivity.cc",
"//src/core:client_channel/client_channel_channelz.cc",
@ -3027,10 +3090,8 @@ grpc_cc_library(
"//src/core:client_channel/subchannel_pool_interface.cc",
"//src/core:client_channel/subchannel_stream_client.cc",
"//src/core:load_balancing/child_policy_handler.cc",
"//src/core:load_balancing/oob_backend_metric.cc",
],
hdrs = [
"//src/core:client_channel/backend_metric.h",
"//src/core:client_channel/backup_poller.h",
"//src/core:client_channel/client_channel_channelz.h",
"//src/core:client_channel/client_channel_factory.h",
@ -3052,8 +3113,6 @@ grpc_cc_library(
"//src/core:client_channel/subchannel_pool_interface.h",
"//src/core:client_channel/subchannel_stream_client.h",
"//src/core:load_balancing/child_policy_handler.h",
"//src/core:load_balancing/oob_backend_metric.h",
"//src/core:load_balancing/oob_backend_metric_internal.h",
],
external_deps = [
"absl/base:core_headers",
@ -3074,6 +3133,7 @@ grpc_cc_library(
language = "c++",
visibility = ["@grpc:client_channel"],
deps = [
"backend_metric_parser",
"backoff",
"channel_arg_names",
"config",

4
CMakeLists.txt generated

@ -1776,7 +1776,6 @@ endif()
add_library(grpc
src/core/client_channel/backend_metric.cc
src/core/client_channel/backup_poller.cc
src/core/client_channel/channel_connectivity.cc
src/core/client_channel/client_channel_channelz.cc
@ -2497,6 +2496,7 @@ add_library(grpc
src/core/lib/transport/transport_op_string.cc
src/core/lib/uri/uri_parser.cc
src/core/load_balancing/address_filtering.cc
src/core/load_balancing/backend_metric_parser.cc
src/core/load_balancing/child_policy_handler.cc
src/core/load_balancing/endpoint_list.cc
src/core/load_balancing/grpclb/client_load_reporting_filter.cc
@ -2874,7 +2874,6 @@ endif()
add_library(grpc_unsecure
src/core/client_channel/backend_metric.cc
src/core/client_channel/backup_poller.cc
src/core/client_channel/channel_connectivity.cc
src/core/client_channel/client_channel_channelz.cc
@ -3225,6 +3224,7 @@ add_library(grpc_unsecure
src/core/lib/transport/transport_op_string.cc
src/core/lib/uri/uri_parser.cc
src/core/load_balancing/address_filtering.cc
src/core/load_balancing/backend_metric_parser.cc
src/core/load_balancing/child_policy_handler.cc
src/core/load_balancing/endpoint_list.cc
src/core/load_balancing/grpclb/client_load_reporting_filter.cc

4
Makefile generated

@ -959,7 +959,6 @@ endif
# deps: ['upb_json_lib', 'upb_textformat_lib', 're2', 'z', 'grpc_abseil', 'cares', 'gpr', 'libssl', 'address_sorting']
# transitive_deps: ['address_sorting', 'gpr', 'grpc_abseil', 'cares', 'z', 're2', 'upb_textformat_lib', 'upb_json_lib', 'utf8_range_lib', 'upb_message_lib', 'upb_mem_lib', 'upb_base_lib', 'libssl']
LIBGRPC_SRC = \
src/core/client_channel/backend_metric.cc \
src/core/client_channel/backup_poller.cc \
src/core/client_channel/channel_connectivity.cc \
src/core/client_channel/client_channel_channelz.cc \
@ -1680,6 +1679,7 @@ LIBGRPC_SRC = \
src/core/lib/transport/transport_op_string.cc \
src/core/lib/uri/uri_parser.cc \
src/core/load_balancing/address_filtering.cc \
src/core/load_balancing/backend_metric_parser.cc \
src/core/load_balancing/child_policy_handler.cc \
src/core/load_balancing/endpoint_list.cc \
src/core/load_balancing/grpclb/client_load_reporting_filter.cc \
@ -1891,7 +1891,6 @@ endif
# deps: ['upb_message_lib', 'utf8_range_lib', 'z', 'grpc_abseil', 'cares', 'gpr', 'address_sorting']
# transitive_deps: ['address_sorting', 'gpr', 'grpc_abseil', 'cares', 'z', 'utf8_range_lib', 'upb_message_lib', 'upb_mem_lib', 'upb_base_lib']
LIBGRPC_UNSECURE_SRC = \
src/core/client_channel/backend_metric.cc \
src/core/client_channel/backup_poller.cc \
src/core/client_channel/channel_connectivity.cc \
src/core/client_channel/client_channel_channelz.cc \
@ -2242,6 +2241,7 @@ LIBGRPC_UNSECURE_SRC = \
src/core/lib/transport/transport_op_string.cc \
src/core/lib/uri/uri_parser.cc \
src/core/load_balancing/address_filtering.cc \
src/core/load_balancing/backend_metric_parser.cc \
src/core/load_balancing/child_policy_handler.cc \
src/core/load_balancing/endpoint_list.cc \
src/core/load_balancing/grpclb/client_load_reporting_filter.cc \

4
Package.swift generated

@ -115,8 +115,6 @@ let package = Package(
"include/grpc/support/thd_id.h",
"include/grpc/support/time.h",
"include/grpc/support/workaround_list.h",
"src/core/client_channel/backend_metric.cc",
"src/core/client_channel/backend_metric.h",
"src/core/client_channel/backup_poller.cc",
"src/core/client_channel/backup_poller.h",
"src/core/client_channel/channel_connectivity.cc",
@ -1851,6 +1849,8 @@ let package = Package(
"src/core/load_balancing/address_filtering.cc",
"src/core/load_balancing/address_filtering.h",
"src/core/load_balancing/backend_metric_data.h",
"src/core/load_balancing/backend_metric_parser.cc",
"src/core/load_balancing/backend_metric_parser.h",
"src/core/load_balancing/child_policy_handler.cc",
"src/core/load_balancing/child_policy_handler.h",
"src/core/load_balancing/delegating_helper.h",

@ -217,7 +217,6 @@ libs:
- include/grpc/support/time.h
- include/grpc/support/workaround_list.h
headers:
- src/core/client_channel/backend_metric.h
- src/core/client_channel/backup_poller.h
- src/core/client_channel/client_channel_channelz.h
- src/core/client_channel/client_channel_factory.h
@ -1157,6 +1156,7 @@ libs:
- src/core/lib/uri/uri_parser.h
- src/core/load_balancing/address_filtering.h
- src/core/load_balancing/backend_metric_data.h
- src/core/load_balancing/backend_metric_parser.h
- src/core/load_balancing/child_policy_handler.h
- src/core/load_balancing/delegating_helper.h
- src/core/load_balancing/endpoint_list.h
@ -1233,7 +1233,6 @@ libs:
- third_party/upb/upb/generated_code_support.h
- third_party/xxhash/xxhash.h
src:
- src/core/client_channel/backend_metric.cc
- src/core/client_channel/backup_poller.cc
- src/core/client_channel/channel_connectivity.cc
- src/core/client_channel/client_channel_channelz.cc
@ -1954,6 +1953,7 @@ libs:
- src/core/lib/transport/transport_op_string.cc
- src/core/lib/uri/uri_parser.cc
- src/core/load_balancing/address_filtering.cc
- src/core/load_balancing/backend_metric_parser.cc
- src/core/load_balancing/child_policy_handler.cc
- src/core/load_balancing/endpoint_list.cc
- src/core/load_balancing/grpclb/client_load_reporting_filter.cc
@ -2195,7 +2195,6 @@ libs:
- include/grpc/support/time.h
- include/grpc/support/workaround_list.h
headers:
- src/core/client_channel/backend_metric.h
- src/core/client_channel/backup_poller.h
- src/core/client_channel/client_channel_channelz.h
- src/core/client_channel/client_channel_factory.h
@ -2617,6 +2616,7 @@ libs:
- src/core/lib/uri/uri_parser.h
- src/core/load_balancing/address_filtering.h
- src/core/load_balancing/backend_metric_data.h
- src/core/load_balancing/backend_metric_parser.h
- src/core/load_balancing/child_policy_handler.h
- src/core/load_balancing/delegating_helper.h
- src/core/load_balancing/endpoint_list.h
@ -2683,7 +2683,6 @@ libs:
- third_party/upb/upb/wire/reader.h
- third_party/upb/upb/wire/types.h
src:
- src/core/client_channel/backend_metric.cc
- src/core/client_channel/backup_poller.cc
- src/core/client_channel/channel_connectivity.cc
- src/core/client_channel/client_channel_channelz.cc
@ -3034,6 +3033,7 @@ libs:
- src/core/lib/transport/transport_op_string.cc
- src/core/lib/uri/uri_parser.cc
- src/core/load_balancing/address_filtering.cc
- src/core/load_balancing/backend_metric_parser.cc
- src/core/load_balancing/child_policy_handler.cc
- src/core/load_balancing/endpoint_list.cc
- src/core/load_balancing/grpclb/client_load_reporting_filter.cc

2
config.m4 generated

@ -41,7 +41,6 @@ if test "$PHP_GRPC" != "no"; then
PHP_SUBST(GRPC_SHARED_LIBADD)
PHP_NEW_EXTENSION(grpc,
src/core/client_channel/backend_metric.cc \
src/core/client_channel/backup_poller.cc \
src/core/client_channel/channel_connectivity.cc \
src/core/client_channel/client_channel_channelz.cc \
@ -808,6 +807,7 @@ if test "$PHP_GRPC" != "no"; then
src/core/lib/transport/transport_op_string.cc \
src/core/lib/uri/uri_parser.cc \
src/core/load_balancing/address_filtering.cc \
src/core/load_balancing/backend_metric_parser.cc \
src/core/load_balancing/child_policy_handler.cc \
src/core/load_balancing/endpoint_list.cc \
src/core/load_balancing/grpclb/client_load_reporting_filter.cc \

2
config.w32 generated

@ -6,7 +6,6 @@ ARG_WITH("grpc", "grpc support", "no");
if (PHP_GRPC != "no") {
EXTENSION("grpc",
"src\\core\\client_channel\\backend_metric.cc " +
"src\\core\\client_channel\\backup_poller.cc " +
"src\\core\\client_channel\\channel_connectivity.cc " +
"src\\core\\client_channel\\client_channel_channelz.cc " +
@ -773,6 +772,7 @@ if (PHP_GRPC != "no") {
"src\\core\\lib\\transport\\transport_op_string.cc " +
"src\\core\\lib\\uri\\uri_parser.cc " +
"src\\core\\load_balancing\\address_filtering.cc " +
"src\\core\\load_balancing\\backend_metric_parser.cc " +
"src\\core\\load_balancing\\child_policy_handler.cc " +
"src\\core\\load_balancing\\endpoint_list.cc " +
"src\\core\\load_balancing\\grpclb\\client_load_reporting_filter.cc " +

8
gRPC-C++.podspec generated

@ -257,8 +257,7 @@ Pod::Spec.new do |s|
ss.dependency 'abseil/types/variant', abseil_version
ss.dependency 'abseil/utility/utility', abseil_version
ss.source_files = 'src/core/client_channel/backend_metric.h',
'src/core/client_channel/backup_poller.h',
ss.source_files = 'src/core/client_channel/backup_poller.h',
'src/core/client_channel/client_channel_channelz.h',
'src/core/client_channel/client_channel_factory.h',
'src/core/client_channel/client_channel_filter.h',
@ -1261,6 +1260,7 @@ Pod::Spec.new do |s|
'src/core/lib/uri/uri_parser.h',
'src/core/load_balancing/address_filtering.h',
'src/core/load_balancing/backend_metric_data.h',
'src/core/load_balancing/backend_metric_parser.h',
'src/core/load_balancing/child_policy_handler.h',
'src/core/load_balancing/delegating_helper.h',
'src/core/load_balancing/endpoint_list.h',
@ -1531,8 +1531,7 @@ Pod::Spec.new do |s|
'third_party/zlib/zlib.h',
'third_party/zlib/zutil.h'
ss.private_header_files = 'src/core/client_channel/backend_metric.h',
'src/core/client_channel/backup_poller.h',
ss.private_header_files = 'src/core/client_channel/backup_poller.h',
'src/core/client_channel/client_channel_channelz.h',
'src/core/client_channel/client_channel_factory.h',
'src/core/client_channel/client_channel_filter.h',
@ -2517,6 +2516,7 @@ Pod::Spec.new do |s|
'src/core/lib/uri/uri_parser.h',
'src/core/load_balancing/address_filtering.h',
'src/core/load_balancing/backend_metric_data.h',
'src/core/load_balancing/backend_metric_parser.h',
'src/core/load_balancing/child_policy_handler.h',
'src/core/load_balancing/delegating_helper.h',
'src/core/load_balancing/endpoint_list.h',

10
gRPC-Core.podspec generated

@ -228,9 +228,7 @@ Pod::Spec.new do |s|
ss.dependency 'abseil/utility/utility', abseil_version
ss.compiler_flags = '-DBORINGSSL_PREFIX=GRPC -Wno-unreachable-code -Wno-shorten-64-to-32'
ss.source_files = 'src/core/client_channel/backend_metric.cc',
'src/core/client_channel/backend_metric.h',
'src/core/client_channel/backup_poller.cc',
ss.source_files = 'src/core/client_channel/backup_poller.cc',
'src/core/client_channel/backup_poller.h',
'src/core/client_channel/channel_connectivity.cc',
'src/core/client_channel/client_channel_channelz.cc',
@ -1960,6 +1958,8 @@ Pod::Spec.new do |s|
'src/core/load_balancing/address_filtering.cc',
'src/core/load_balancing/address_filtering.h',
'src/core/load_balancing/backend_metric_data.h',
'src/core/load_balancing/backend_metric_parser.cc',
'src/core/load_balancing/backend_metric_parser.h',
'src/core/load_balancing/child_policy_handler.cc',
'src/core/load_balancing/child_policy_handler.h',
'src/core/load_balancing/delegating_helper.h',
@ -2332,8 +2332,7 @@ Pod::Spec.new do |s|
'third_party/zlib/zlib.h',
'third_party/zlib/zutil.c',
'third_party/zlib/zutil.h'
ss.private_header_files = 'src/core/client_channel/backend_metric.h',
'src/core/client_channel/backup_poller.h',
ss.private_header_files = 'src/core/client_channel/backup_poller.h',
'src/core/client_channel/client_channel_channelz.h',
'src/core/client_channel/client_channel_factory.h',
'src/core/client_channel/client_channel_filter.h',
@ -3297,6 +3296,7 @@ Pod::Spec.new do |s|
'src/core/lib/uri/uri_parser.h',
'src/core/load_balancing/address_filtering.h',
'src/core/load_balancing/backend_metric_data.h',
'src/core/load_balancing/backend_metric_parser.h',
'src/core/load_balancing/child_policy_handler.h',
'src/core/load_balancing/delegating_helper.h',
'src/core/load_balancing/endpoint_list.h',

4
grpc.gemspec generated

@ -121,8 +121,6 @@ Gem::Specification.new do |s|
s.files += %w( include/grpc/support/thd_id.h )
s.files += %w( include/grpc/support/time.h )
s.files += %w( include/grpc/support/workaround_list.h )
s.files += %w( src/core/client_channel/backend_metric.cc )
s.files += %w( src/core/client_channel/backend_metric.h )
s.files += %w( src/core/client_channel/backup_poller.cc )
s.files += %w( src/core/client_channel/backup_poller.h )
s.files += %w( src/core/client_channel/channel_connectivity.cc )
@ -1853,6 +1851,8 @@ Gem::Specification.new do |s|
s.files += %w( src/core/load_balancing/address_filtering.cc )
s.files += %w( src/core/load_balancing/address_filtering.h )
s.files += %w( src/core/load_balancing/backend_metric_data.h )
s.files += %w( src/core/load_balancing/backend_metric_parser.cc )
s.files += %w( src/core/load_balancing/backend_metric_parser.h )
s.files += %w( src/core/load_balancing/child_policy_handler.cc )
s.files += %w( src/core/load_balancing/child_policy_handler.h )
s.files += %w( src/core/load_balancing/delegating_helper.h )

4
grpc.gyp generated

@ -273,7 +273,6 @@
'address_sorting',
],
'sources': [
'src/core/client_channel/backend_metric.cc',
'src/core/client_channel/backup_poller.cc',
'src/core/client_channel/channel_connectivity.cc',
'src/core/client_channel/client_channel_channelz.cc',
@ -994,6 +993,7 @@
'src/core/lib/transport/transport_op_string.cc',
'src/core/lib/uri/uri_parser.cc',
'src/core/load_balancing/address_filtering.cc',
'src/core/load_balancing/backend_metric_parser.cc',
'src/core/load_balancing/child_policy_handler.cc',
'src/core/load_balancing/endpoint_list.cc',
'src/core/load_balancing/grpclb/client_load_reporting_filter.cc',
@ -1145,7 +1145,6 @@
'address_sorting',
],
'sources': [
'src/core/client_channel/backend_metric.cc',
'src/core/client_channel/backup_poller.cc',
'src/core/client_channel/channel_connectivity.cc',
'src/core/client_channel/client_channel_channelz.cc',
@ -1496,6 +1495,7 @@
'src/core/lib/transport/transport_op_string.cc',
'src/core/lib/uri/uri_parser.cc',
'src/core/load_balancing/address_filtering.cc',
'src/core/load_balancing/backend_metric_parser.cc',
'src/core/load_balancing/child_policy_handler.cc',
'src/core/load_balancing/endpoint_list.cc',
'src/core/load_balancing/grpclb/client_load_reporting_filter.cc',

4
package.xml generated

@ -103,8 +103,6 @@
<file baseinstalldir="/" name="include/grpc/support/thd_id.h" role="src" />
<file baseinstalldir="/" name="include/grpc/support/time.h" role="src" />
<file baseinstalldir="/" name="include/grpc/support/workaround_list.h" role="src" />
<file baseinstalldir="/" name="src/core/client_channel/backend_metric.cc" role="src" />
<file baseinstalldir="/" name="src/core/client_channel/backend_metric.h" role="src" />
<file baseinstalldir="/" name="src/core/client_channel/backup_poller.cc" role="src" />
<file baseinstalldir="/" name="src/core/client_channel/backup_poller.h" role="src" />
<file baseinstalldir="/" name="src/core/client_channel/channel_connectivity.cc" role="src" />
@ -1835,6 +1833,8 @@
<file baseinstalldir="/" name="src/core/load_balancing/address_filtering.cc" role="src" />
<file baseinstalldir="/" name="src/core/load_balancing/address_filtering.h" role="src" />
<file baseinstalldir="/" name="src/core/load_balancing/backend_metric_data.h" role="src" />
<file baseinstalldir="/" name="src/core/load_balancing/backend_metric_parser.cc" role="src" />
<file baseinstalldir="/" name="src/core/load_balancing/backend_metric_parser.h" role="src" />
<file baseinstalldir="/" name="src/core/load_balancing/child_policy_handler.cc" role="src" />
<file baseinstalldir="/" name="src/core/load_balancing/child_policy_handler.h" role="src" />
<file baseinstalldir="/" name="src/core/load_balancing/delegating_helper.h" role="src" />

@ -5359,6 +5359,7 @@ grpc_cc_library(
"//:grpc_base",
"//:grpc_client_channel",
"//:grpc_trace",
"//:oob_backend_metric",
"//:orphanable",
"//:ref_counted_ptr",
"//:server_address",

@ -49,7 +49,6 @@
#include <grpc/support/string_util.h>
#include <grpc/support/time.h>
#include "src/core/client_channel/backend_metric.h"
#include "src/core/client_channel/backup_poller.h"
#include "src/core/client_channel/client_channel_channelz.h"
#include "src/core/client_channel/client_channel_internal.h"
@ -92,8 +91,6 @@
#include "src/core/lib/promise/promise.h"
#include "src/core/lib/promise/try_seq.h"
#include "src/core/lib/security/credentials/credentials.h"
#include "src/core/service_config/service_config_call_data.h"
#include "src/core/service_config/service_config_impl.h"
#include "src/core/lib/slice/slice.h"
#include "src/core/lib/slice/slice_internal.h"
#include "src/core/lib/surface/call.h"
@ -101,11 +98,14 @@
#include "src/core/lib/transport/connectivity_state.h"
#include "src/core/lib/transport/error_utils.h"
#include "src/core/lib/transport/metadata_batch.h"
#include "src/core/load_balancing/backend_metric_parser.h"
#include "src/core/load_balancing/child_policy_handler.h"
#include "src/core/load_balancing/lb_policy_registry.h"
#include "src/core/load_balancing/subchannel_interface.h"
#include "src/core/resolver/endpoint_addresses.h"
#include "src/core/resolver/resolver_registry.h"
#include "src/core/service_config/service_config_call_data.h"
#include "src/core/service_config/service_config_impl.h"
//
// Client channel filter

@ -16,7 +16,7 @@
#include <grpc/support/port_platform.h>
#include "src/core/client_channel/backend_metric.h"
#include "src/core/load_balancing/backend_metric_parser.h"
#include <string.h>

@ -14,8 +14,8 @@
// limitations under the License.
//
#ifndef GRPC_SRC_CORE_CLIENT_CHANNEL_BACKEND_METRIC_H
#define GRPC_SRC_CORE_CLIENT_CHANNEL_BACKEND_METRIC_H
#ifndef GRPC_SRC_CORE_LOAD_BALANCING_BACKEND_METRIC_PARSER_H
#define GRPC_SRC_CORE_LOAD_BALANCING_BACKEND_METRIC_PARSER_H
#include <grpc/support/port_platform.h>
@ -44,4 +44,4 @@ const BackendMetricData* ParseBackendMetricData(
} // namespace grpc_core
#endif // GRPC_SRC_CORE_CLIENT_CHANNEL_BACKEND_METRIC_H
#endif // GRPC_SRC_CORE_LOAD_BALANCING_BACKEND_METRIC_PARSER_H

@ -38,9 +38,7 @@
#include <grpc/support/log.h>
#include <grpc/support/time.h>
#include "src/core/client_channel/backend_metric.h"
#include "src/core/client_channel/client_channel_channelz.h"
#include "src/core/load_balancing/oob_backend_metric_internal.h"
#include "src/core/client_channel/subchannel.h"
#include "src/core/client_channel/subchannel_stream_client.h"
#include "src/core/lib/channel/channel_trace.h"
@ -57,6 +55,8 @@
#include "src/core/lib/iomgr/iomgr_fwd.h"
#include "src/core/lib/iomgr/pollset_set.h"
#include "src/core/lib/slice/slice.h"
#include "src/core/load_balancing/backend_metric_parser.h"
#include "src/core/load_balancing/oob_backend_metric_internal.h"
namespace grpc_core {

@ -21,8 +21,8 @@
#include <memory>
#include "src/core/load_balancing/backend_metric_data.h"
#include "src/core/lib/gprpp/time.h"
#include "src/core/load_balancing/backend_metric_data.h"
#include "src/core/load_balancing/subchannel_interface.h"
namespace grpc_core {

@ -15,7 +15,6 @@
# AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio/grpc_core_dependencies.py.template`!!!
CORE_SOURCE_FILES = [
'src/core/client_channel/backend_metric.cc',
'src/core/client_channel/backup_poller.cc',
'src/core/client_channel/channel_connectivity.cc',
'src/core/client_channel/client_channel_channelz.cc',
@ -782,6 +781,7 @@ CORE_SOURCE_FILES = [
'src/core/lib/transport/transport_op_string.cc',
'src/core/lib/uri/uri_parser.cc',
'src/core/load_balancing/address_filtering.cc',
'src/core/load_balancing/backend_metric_parser.cc',
'src/core/load_balancing/child_policy_handler.cc',
'src/core/load_balancing/endpoint_list.cc',
'src/core/load_balancing/grpclb/client_load_reporting_filter.cc',

@ -32,6 +32,7 @@ grpc_cc_library(
],
language = "C++",
deps = [
"//:oob_backend_metric",
"//src/core:lb_policy",
"//src/core:subchannel_interface",
"//test/core/event_engine:event_engine_test_utils",

@ -312,6 +312,7 @@ grpc_cc_library(
"//:grpc",
"//:grpc_client_channel",
"//:orphanable",
"//:oob_backend_metric",
"//:parse_address",
"//:ref_counted_ptr",
"//:uri_parser",

@ -1081,8 +1081,6 @@ include/grpcpp/support/time.h \
include/grpcpp/support/validate_service_config.h \
include/grpcpp/version_info.h \
include/grpcpp/xds_server_builder.h \
src/core/client_channel/backend_metric.cc \
src/core/client_channel/backend_metric.h \
src/core/client_channel/backup_poller.cc \
src/core/client_channel/backup_poller.h \
src/core/client_channel/channel_connectivity.cc \
@ -2852,6 +2850,8 @@ src/core/lib/uri/uri_parser.h \
src/core/load_balancing/address_filtering.cc \
src/core/load_balancing/address_filtering.h \
src/core/load_balancing/backend_metric_data.h \
src/core/load_balancing/backend_metric_parser.cc \
src/core/load_balancing/backend_metric_parser.h \
src/core/load_balancing/child_policy_handler.cc \
src/core/load_balancing/child_policy_handler.h \
src/core/load_balancing/delegating_helper.h \

@ -885,8 +885,6 @@ include/grpc/support/time.h \
include/grpc/support/workaround_list.h \
src/core/README.md \
src/core/client_channel/README.md \
src/core/client_channel/backend_metric.cc \
src/core/client_channel/backend_metric.h \
src/core/client_channel/backup_poller.cc \
src/core/client_channel/backup_poller.h \
src/core/client_channel/channel_connectivity.cc \
@ -2629,6 +2627,8 @@ src/core/lib/uri/uri_parser.h \
src/core/load_balancing/address_filtering.cc \
src/core/load_balancing/address_filtering.h \
src/core/load_balancing/backend_metric_data.h \
src/core/load_balancing/backend_metric_parser.cc \
src/core/load_balancing/backend_metric_parser.h \
src/core/load_balancing/child_policy_handler.cc \
src/core/load_balancing/child_policy_handler.h \
src/core/load_balancing/delegating_helper.h \

Loading…
Cancel
Save