|
|
@ -322,8 +322,7 @@ void PythonOpenCensusCallTracer::PythonOpenCensusCallAttemptTracer:: |
|
|
|
void PythonOpenCensusCallTracer::PythonOpenCensusCallAttemptTracer::RecordEnd( |
|
|
|
void PythonOpenCensusCallTracer::PythonOpenCensusCallAttemptTracer::RecordEnd( |
|
|
|
const gpr_timespec& /*latency*/) { |
|
|
|
const gpr_timespec& /*latency*/) { |
|
|
|
if (PythonCensusStatsEnabled()) { |
|
|
|
if (PythonCensusStatsEnabled()) { |
|
|
|
context_.Labels().emplace_back(kClientMethod, |
|
|
|
context_.Labels().emplace_back(kClientMethod, parent_->method_); |
|
|
|
parent_->method_); |
|
|
|
|
|
|
|
context_.Labels().emplace_back(kClientStatus, |
|
|
|
context_.Labels().emplace_back(kClientStatus, |
|
|
|
StatusCodeToString(status_code_)); |
|
|
|
StatusCodeToString(status_code_)); |
|
|
|
RecordIntMetric(kRpcClientSentMessagesPerRpcMeasureName, |
|
|
|
RecordIntMetric(kRpcClientSentMessagesPerRpcMeasureName, |
|
|
|