diff --git a/src/python/grpcio_observability/grpc_observability/client_call_tracer.cc b/src/python/grpcio_observability/grpc_observability/client_call_tracer.cc index 9fe2b71acba..21c6521f922 100644 --- a/src/python/grpcio_observability/grpc_observability/client_call_tracer.cc +++ b/src/python/grpcio_observability/grpc_observability/client_call_tracer.cc @@ -322,8 +322,7 @@ void PythonOpenCensusCallTracer::PythonOpenCensusCallAttemptTracer:: void PythonOpenCensusCallTracer::PythonOpenCensusCallAttemptTracer::RecordEnd( const gpr_timespec& /*latency*/) { if (PythonCensusStatsEnabled()) { - context_.Labels().emplace_back(kClientMethod, - parent_->method_); + context_.Labels().emplace_back(kClientMethod, parent_->method_); context_.Labels().emplace_back(kClientStatus, StatusCodeToString(status_code_)); RecordIntMetric(kRpcClientSentMessagesPerRpcMeasureName, diff --git a/src/python/grpcio_observability/grpc_observability/python_observability_context.h b/src/python/grpcio_observability/grpc_observability/python_observability_context.h index 027375c0edc..16b05d63128 100644 --- a/src/python/grpcio_observability/grpc_observability/python_observability_context.h +++ b/src/python/grpcio_observability/grpc_observability/python_observability_context.h @@ -280,9 +280,7 @@ inline std::string GetMethod(const char* method) { return std::string(absl::StripPrefix(method, "/")); } -inline std::string GetTarget(const char* target) { - return std::string(target); -} +inline std::string GetTarget(const char* target) { return std::string(target); } // Fills a pre-allocated buffer with the value for the grpc-trace-bin header. // The buffer must be at least kGrpcTraceBinHeaderLen bytes long.