|
|
@ -27,6 +27,7 @@ |
|
|
|
#include "src/core/lib/gprpp/crash.h" |
|
|
|
#include "src/core/lib/gprpp/crash.h" |
|
|
|
#include "src/proto/grpc/testing/metrics.grpc.pb.h" |
|
|
|
#include "src/proto/grpc/testing/metrics.grpc.pb.h" |
|
|
|
#include "src/proto/grpc/testing/metrics.pb.h" |
|
|
|
#include "src/proto/grpc/testing/metrics.pb.h" |
|
|
|
|
|
|
|
#include "test/core/test_util/test_config.h" |
|
|
|
#include "test/cpp/util/metrics_server.h" |
|
|
|
#include "test/cpp/util/metrics_server.h" |
|
|
|
#include "test/cpp/util/test_config.h" |
|
|
|
#include "test/cpp/util/test_config.h" |
|
|
|
|
|
|
|
|
|
|
@ -90,7 +91,7 @@ int main(int argc, char** argv) { |
|
|
|
// The output of metrics client is in some cases programmatically parsed (for
|
|
|
|
// The output of metrics client is in some cases programmatically parsed (for
|
|
|
|
// example by the stress test framework). So, we do not want any of the log
|
|
|
|
// example by the stress test framework). So, we do not want any of the log
|
|
|
|
// from the grpc library appearing on stdout.
|
|
|
|
// from the grpc library appearing on stdout.
|
|
|
|
gpr_disable_all_logs(); |
|
|
|
grpc_disable_all_absl_logs(); |
|
|
|
|
|
|
|
|
|
|
|
std::shared_ptr<grpc::Channel> channel( |
|
|
|
std::shared_ptr<grpc::Channel> channel( |
|
|
|
grpc::CreateChannel(absl::GetFlag(FLAGS_metrics_server_address), |
|
|
|
grpc::CreateChannel(absl::GetFlag(FLAGS_metrics_server_address), |
|
|
|