MOF Configuration
The configuration file of MOF is uav.properties under the directory of uavmof/com.creditease.uav. Below are detailed illustrations of each property:
com.creditease.uav.class.filter
Classes invisible to WebApp among classes loaded in MOF.
com.creditease.uav.supporters
Supporters enabled when MOF is loaded. Such supporters shall expand the functionality of MOF. Separate multiple supporters with comma.
com.creditease.uav.interceptlisteners
Interceptlisteners enabled when MOF is loaded. Such interceptlisteners shall implement different actions during varied life cycles of WebApp or servlet. Separate multiple interceptlisteners with comma.
com.creditease.uav.hookfactory.config
Configuration of application framework hooking. This property is presented as the json array, each json element representing a hooking class in the format of
{
detect:" <detect class>“,//Class to be hooked. Hook such class if it is detected
jar:" <jar file contains hook>“,//Hooked jar package
proxy:" <hook proxy class extends HookProxy>,//Hooked class
supports: [<jar file>,<jar file>...]”//supporter needed by the hooking classes
}
NetCardIndex
NetCard used as the server IP. The No. of the selected netcard shall be the IP address displayed in the interface of [Application Monitoring].
NetCardName
NetCard used as the server IP. Check the netcard No. via ifconfig. The No. of the selected netcard shall be the IP address displayed in the interface of [Application Monitoring].
com.creditease.monitor.debug
Output the debug information of the monitor or not.
com.creditease.uav.iplink.app.timeout //application
com.creditease.uav.iplink.user.timeout //user
com.creditease.uav.iplink.proxy.timeout//proxy
com.creditease.uav.iplink.app.timeout //application proxy
com.creditease.uav.iplink.proxy.user.timeout //user proxy
Expiration time of the provenance-awareness data in the service flow, in ms.
com.creditease.uav.iplink.urls.limit
com.creditease.uav.iplink.clients.limit
Count limit of URLs and clients in the service flow.
com.creditease.uav.monitor.eleminst.limit
com.creditease.uav.profile.eleminst.limit
Count limit of monitors and profiles under monitoring.
com.creditease.uav.dataobserver.workmodel
Data transmission modes (JMX and Http) between MOF and MA. JMX mode by default. Select Http mode in the multi-user system and modify Configuration of MA accordingly.
com.creditease.uav.*.logroot //log directory
com.creditease.uav.*.logbuffer //buffered lines during log printing
com.creditease.uav.*.logsize //log size, in byte
com.creditease.uav.*.logcount //count limit of logs
Configuration related to logs.
com.creditease.uav.invokechain.code.*.key
com.creditease.uav.invokechain.code.*.class
Relative position relationship between key classes and their business invocation classes in the stack information, wherein class represnets the name of the key class and key represents the layer difference between the business invocation class and the key class in the stack information.
com.creditease.uav.monitorfilter.serverurl.blacklist
com.creditease.uav.monitorfilter.serverurl.whitelist
com.creditease.uav.monitorfilter.clienturl.blacklist
com.creditease.uav.monitorfilter.clienturl.whitelist
Black list and white list configuration of the monitored URL.
com.creditease.uav.monitorfilter.needcache
com.creditease.uav.monitorfilter.serverurl.blacklist.cachesize
com.creditease.uav.monitorfilter.serverurl.whitelist.cachesize
com.creditease.uav.monitorfilter.clienturl.blacklist.cachesize
com.creditease.uav.monitorfilter.clienturl.whitelist.cachesize
Cache the URL in the black list and white list or not; and the size of the cache if yes.
com.creditease.uav.monitorfilter.servicevalidate
Strictly validate URL or not. If yes, do not monitor if the requested URL is not in the profile data.
com.creditease.uav.uavmof.metapath
Address of MOF metadata. Use the default address if left empty, i.e. the metadata director at the same level of uavmof.
com.creditease.uav.uavmof.profile.package.header
Scan packages prefixed with this header only in the profiling process. Separate multiple headers with comma.