view agent/heapstats.conf.in @ 247:33a77b567b62

Bug 3293: [REFACTORING] Realtime deadlock detector implementation Reviewed-by: ykubota https://github.com/HeapStats/heapstats/pull/115
author Yasumasa Suenaga <yasuenag@gmail.com>
date Wed, 02 Aug 2017 14:46:00 +0900
parents 03baa55848c2
children 65602e1c057d
line wrap: on
line source

# @PACKAGE_STRING@
# @PACKAGE_STRING@ configuration file.
attach=true

# Output file setting
file=heapstats_snapshot.dat
heaplogfile=heapstats_log.csv
archivefile=heapstats_analyze.zip
logfile=
loglevel=INFO
reduce_snapshot=true

# SnapShot type
collect_reftree=true

# Trigger snapshot setting
trigger_on_fullgc=true
trigger_on_dump=true

# deadlock check
check_deadlock=false

# Trigger logging setting
trigger_on_logerror=true
trigger_on_logsignal=true
trigger_on_loglock=true

# Rank setting
rank_level=5
rank_order=delta

# Alert setting
alert_percentage=50

# Alert threshold for java heap usage.
# "0" means disabled.
javaheap_alert_percentage=95

# Alert threshold for metaspace usage (in MB).
# "0" means disabled.
metaspace_alert_threshold=0

# Timer setting
snapshot_interval=0
log_interval=300

first_collect=true
logsignal_normal=
logsignal_all=SIGUSR2
signal_reload=SIGHUP

# Thread recording
thread_record_enable=false
thread_record_buffer_size=100  # Set buffer size in MB.
thread_record_filename=heapstats-thread-records.htr
thread_record_iotracer=@IOTRACER@

# Snmp setting
snmp_send=false
snmp_target=localhost
snmp_comname=public
# You can check library path with `net-snmp-config --netsnmp-libs`
snmp_libpath=@LIBNETSNMP_PATH@

logdir=./tmp
archive_command=/usr/bin/zip %archivefile% -jr %logdir%

kill_on_error=false