xo::is_ip (private)
xo::is_ip key
Defined in packages/xotcl-request-monitor/tcl/throttle_mod-procs.tcl
Classify a request monitor key as an IP address when it contains a dot or colon. This is a heuristic for keys already collected by the monitor.
- Parameters:
- key (required)
- Request monitor key.
- Returns:
- Boolean classification.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: expr { [string match "*.*" $key] || [string match "*:*" $key] }XQL Not present: Generic, PostgreSQL, Oracle