view agent/test/thread-recording/heapstats.conf @ 266:c5eaa1394c8e

Bug 3568: Up to version 2.2 for trunk repo Reviewed-by: ykubota https://github.com/HeapStats/heapstats/pull/138
author Yasumasa Suenaga <yasuenag@gmail.com>
date Wed, 04 Apr 2018 17:15:38 +0900
parents 894e7948189c
children
line wrap: on
line source

# heapstats_agent 2.2.0
# heapstats_agent 2.2.0 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=true

# 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=true
thread_record_buffer_size=1  # Set buffer size in MB.
thread_record_filename=heapstats-thread-records.htr
thread_record_iotracer=../../src/iotracer/build/sun/misc/IoTrace.class

# Snmp setting
snmp_send=true
snmp_target=localhost
snmp_comname=public
# You can check library path with `net-snmp-config --netsnmp-libs`
snmp_libpath=/usr/lib64/libnetsnmp.so

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

kill_on_error=false