Appspy client properties

Location

The properties are located in the file "appspy-config-default.properties" in the directory "client/conf" of your Appspy home directory.

This file may have an other name or be elsewhere depending on the configuration loader you use. See the Config loaders page.

The properties

Name Type Description
active boolean If set to true, the data collector will be started automatically at application startup. Otherwise, you will have to start it with the Appspy control servlet.
collectionInterval int The delay (in ms) the collectors waits between 2 calls to the Appspy server. So if you set this value to 5000, a data collected will be available at worst 5 seconds later in the viewer.
collectionMaxSamples int The max number of collected datas during the collectionInterval. If you have more than 1000 hits in 5 seconds, you will loose data. In this case you should set higher values. This property is used to avoid memory staturations.
collectionSampling int This property is used by some SkipManagers to skip data collection. If you set this value to 10 for instance, one data on ten will be collected.
cpuTimeEnabled boolean Set this property to enable/disable the monitoring of the CPU Time. (According to : http://java.sun.com/j2se/1.5.0/docs/api/java/lang/management/ThreadMXBean.html)
cpuTimeAllowed boolean Set this property to allow/disallow the monitoring of the CPU Time. (According to : http://java.sun.com/j2se/1.5.0/docs/api/java/lang/management/ThreadMXBean.html)
contentionMonitoringEnabled boolean Set this property to enable/disable the contention monitoring. (According to : http://java.sun.com/j2se/1.5.0/docs/api/java/lang/management/ThreadMXBean.html)
contentionMonitoringAllowed boolean Set this property to allow/disallow the contention monitoring. (According to : http://java.sun.com/j2se/1.5.0/docs/api/java/lang/management/ThreadMXBean.html)
contentionMonitoringInterval boolean Not used for the moment.
defaultCollectionService.serviceUrl String The URL of the data collection service (Appspy server side). Pattern : http://host:port/appspy-webapp-path/service/DataCollectionService
environment String The code of the environment. See collected data
organization String The code of the organization. See collected data