fix connect time metric update
This commit is contained in:
parent
facbe569c7
commit
eddd737a82
1 changed files with 1 additions and 1 deletions
|
@ -378,7 +378,7 @@ func (sc *SocketCollector) handleMessage(msg []byte) {
|
|||
}
|
||||
|
||||
if stats.Latency != -1 {
|
||||
if sc.requestTime != nil {
|
||||
if sc.connectTime != nil {
|
||||
connectTimeMetric, err := sc.connectTime.GetMetricWith(requestLabels)
|
||||
if err != nil {
|
||||
klog.ErrorS(err, "Error fetching connect time metric")
|
||||
|
|
Loading…
Reference in a new issue