Exclude subscribe RPCs from latency tracking (#2313)
This commit is contained in:
1 parent
8d1d699f88
commit
d5b7690f95
1 file changed
+1
-1
@@ -36,7 +36,7 @@ function getSlowRpcAckRequestsValue(): ReadonlyArray<SlowRpcAckRequest> {
|
||||
}
|
||||
|
||||
function shouldTrackRpcAck(tag: string): boolean {
|
||||
return !tag.startsWith("subscribe");
|
||||
return !tag.includes("subscribe");
|
||||
}
|
||||
|
||||
export function getSlowRpcAckRequests(): ReadonlyArray<SlowRpcAckRequest> {
|
||||
|
||||
Reference in new issue
Block a user