ds_collection_enabled_p (public)
ds_collection_enabled_p
Defined in packages/acs-developer-support/tcl/acs-developer-support-procs.tcl
Returns whether we're collecting information about this request
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- ds_features_enabled_test
Source code: if { [info exists ::ad_conn(ds_collection_enabled_p)] } { return $::ad_conn(ds_collection_enabled_p) } if { ![info exists ::ad_conn(request)] } { return 0 } foreach pattern [nsv_get ds_properties enabled_ips] { if { [string match $pattern [ad_conn peeraddr]] } { set ::ad_conn(ds_collection_enabled_p) 1 return 1 } } set ::ad_conn(ds_collection_enabled_p) 0 return 0XQL Not present: Generic, PostgreSQL, Oracle