view agent/heapstats.conf.in @ 271:b037430367a7

Bug 3747: Add note to avoid misrecognized about ResourceExhausted Reviewed-by: yasuenag https://github.com/HeapStats/heapstats/pull/143
author KUBOTA Yuji <kubota.yuji@gmail.com>
date Thu, 25 Jul 2019 00:04:53 +0900
parents 33a77b567b62
children
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
## Note: trigger_on_logerror does *NOT* work when target
## JVM process enables {Exit|Crash}OnOutOfMemoryError
## http://mail.openjdk.java.net/pipermail/hotspot-gc-dev/2019-July/026547.html
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