(pathname: string, edge: V2Edge)
| 311 | /** Whether a pathname is below v2's analytics proxy root, or exactly v2's |
| 312 | * error tunnel. */ |
| 313 | const isV2TelemetryPath = (pathname: string, edge: V2Edge): boolean => |
| 314 | matchesPathPattern(pathname, `${edge.analyticsProxyPath}/*`) || pathname === edge.errorTunnelPath; |
| 315 | |
| 316 | /** |
| 317 | * Answer a production request that belongs to v2 and return `null` when v1 |
no test coverage detected