MCPcopy Create free account
hub / github.com/nlweb-ai/NLWeb / record_error

Method record_error

tests/performance/test_load.py:97–102  ·  view source on GitHub ↗

Record error occurrence.

(self, error_type: str)

Source from the content-addressed store, hash-verified

95 })
96
97 def record_error(self, error_type: str):
98 """Record error occurrence."""
99 self.metrics["error_counts"].append({
100 "error_type": error_type,
101 "timestamp": time.perf_counter()
102 })
103
104 def record_queue_depth(self, conversation_id: str, depth: int):
105 """Record queue depth for conversation."""

Callers 15

client_load_patternMethod · 0.80
client_messagingMethod · 0.80
active_messagingMethod · 0.80
sustained_client_loadMethod · 0.80
connect_clientMethod · 0.80
send_burst_messageMethod · 0.80
client_reconnectionMethod · 0.80
join_leave_cycleMethod · 0.80
send_overflow_messageMethod · 0.80
attempt_connectionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected