Browse Source

metric tools debug

DavidLiu 4 months ago
parent
commit
ad0b196f8e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/callcenter/esl/client.py

+ 1 - 1
src/core/callcenter/esl/client.py

@@ -541,7 +541,7 @@ class OutboundClient:
                         self.build_call_info(call_id, device_id, new_device_id, destination=None, **kwargs)
                         self.server.agent.acd_service.transfer_to_agent(call_id, new_device_id)
 
-                    Registry.counter('call_incoming_requests', '呼入流量统计', ['call_type', str(_call_type)])
+                    Registry.counter('call_incoming_requests', '呼入流量统计', ['call_type', str(_call_type)]).inc()
                     self.server.dataHandleServer.create_record(call_id, caller_number, _call_type, service_category=None, destination=destination)
 
                     # # 检查白名单