mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-18 01:06:03 +10:00
210 lines
6.7 KiB
Plaintext
210 lines
6.7 KiB
Plaintext
#
|
|
# Pinpoint agent configuration
|
|
#
|
|
|
|
###########################################################
|
|
# Collector server #
|
|
###########################################################
|
|
profiler.collector.ip=127.0.0.1
|
|
|
|
# placeHolder support "${key}"
|
|
profiler.collector.span.ip=${profiler.collector.ip}
|
|
profiler.collector.span.port=9996
|
|
|
|
# placeHolder support "${key}"
|
|
profiler.collector.stat.ip=${profiler.collector.ip}
|
|
profiler.collector.stat.port=9995
|
|
|
|
# placeHolder support "${key}"
|
|
profiler.collector.tcp.ip=${profiler.collector.ip}
|
|
profiler.collector.tcp.port=9994
|
|
|
|
|
|
###########################################################
|
|
# Profiler Global Configuration #
|
|
###########################################################
|
|
profiler.enable=true
|
|
|
|
profiler.jvm.collect.interval=1000
|
|
|
|
profiler.sampling.enable=true
|
|
|
|
# Set sampling rate. If you set it to 10, 1 out of 10 transaction will be sampled.
|
|
profiler.sampling.rate=1
|
|
|
|
profiler.io.buffering.enable=true
|
|
profiler.io.buffering.buffersize=20
|
|
|
|
profiler.spandatasender.write.queue.size=5120
|
|
#profiler.spandatasender.socket.sendbuffersize=1048576
|
|
#profiler.spandatasender.socket.timeout=3000
|
|
profiler.spandatasender.chunk.size=16384
|
|
|
|
profiler.statdatasender.write.queue.size=5120
|
|
#profiler.statdatasender.socket.sendbuffersize=1048576
|
|
#profiler.statdatasender.socket.timeout=3000
|
|
profiler.statdatasender.chunk.size=16384
|
|
|
|
profiler.agentInfo.send.retry.interval=300000
|
|
|
|
# Allows TCP data command
|
|
profiler.tcpdatasender.command.accept.enable=true
|
|
|
|
###########################################################
|
|
# application type #
|
|
###########################################################
|
|
#profiler.applicationservertype=TOMCAT
|
|
#profiler.applicationservertype=BLOC
|
|
|
|
###########################################################
|
|
# application type detect order #
|
|
###########################################################
|
|
profiler.type.detect.order=
|
|
|
|
profiler.plugin.disable=
|
|
|
|
###########################################################
|
|
# user defined classes #
|
|
###########################################################
|
|
profiler.include=
|
|
|
|
###########################################################
|
|
# TOMCAT #
|
|
###########################################################
|
|
profiler.tomcat.hidepinpointheader=true
|
|
profiler.tomcat.excludeurl=/aa/test.html, /bb/exclude.html
|
|
|
|
###########################################################
|
|
# JDBC #
|
|
###########################################################
|
|
profiler.jdbc=true
|
|
profiler.jdbc.sqlcachesize=1024
|
|
profiler.jdbc.maxsqlbindvaluesize=1024
|
|
|
|
#
|
|
# MYSQL
|
|
#
|
|
profiler.jdbc.mysql=true
|
|
profiler.jdbc.mysql.setautocommit=true
|
|
profiler.jdbc.mysql.commit=true
|
|
profiler.jdbc.mysql.rollback=true
|
|
|
|
#
|
|
# MSSQL Jtds
|
|
#
|
|
profiler.jdbc.jtds=true
|
|
profiler.jdbc.jtds.setautocommit=true
|
|
profiler.jdbc.jtds.commit=true
|
|
profiler.jdbc.jtds.rollback=true
|
|
|
|
#
|
|
# Oracle
|
|
#
|
|
profiler.jdbc.oracle=true
|
|
profiler.jdbc.oracle.setautocommit=true
|
|
profiler.jdbc.oracle.commit=true
|
|
profiler.jdbc.oracle.rollback=true
|
|
|
|
#
|
|
# CUBRID
|
|
#
|
|
profiler.jdbc.cubrid=true
|
|
profiler.jdbc.cubrid.setautocommit=true
|
|
profiler.jdbc.cubrid.commit=true
|
|
profiler.jdbc.cubrid.rollback=true
|
|
|
|
#
|
|
# DBCP
|
|
#
|
|
profiler.jdbc.dbcp=true
|
|
profiler.jdbc.dbcp.connectionclose=true
|
|
|
|
|
|
###########################################################
|
|
# Apache HTTP Client 4.x #
|
|
###########################################################
|
|
profiler.apache.httpclient4=true
|
|
profiler.apache.httpclient4.cookie=true
|
|
|
|
# When cookies should be dumped. It could be ALWAYS or EXCEPTION.
|
|
profiler.apache.httpclient4.cookie.dumptype=ALWAYS
|
|
profiler.apache.httpclient4.cookie.sampling.rate=1
|
|
|
|
# Dump entities of POST or PUT request. limited to entities which is HttpEntity.isRepeatable() == true.
|
|
profiler.apache.httpclient4.entity=true
|
|
|
|
# When entities should be dumped. ALWAYS or EXCEPTION.
|
|
profiler.apache.httpclient4.entity.dumptype=ALWAYS
|
|
profiler.apache.httpclient4.entity.sampling.rate=1
|
|
|
|
profiler.apache.nio.httpclient4=true
|
|
|
|
|
|
###########################################################
|
|
# JDK HTTPURLConnection #
|
|
###########################################################
|
|
profiler.jdk.httpurlconnection=true
|
|
|
|
|
|
###########################################################
|
|
# Ning Async HTTP Client #
|
|
###########################################################
|
|
profiler.ning.asynchttpclient=true
|
|
profiler.ning.asynchttpclient.cookie=true
|
|
profiler.ning.asynchttpclient.cookie.dumptype=ALWAYS
|
|
profiler.ning.asynchttpclient.cookie.dumpsize=1024
|
|
profiler.ning.asynchttpclient.cookie.sampling.rate=1
|
|
profiler.ning.asynchttpclient.entity=true
|
|
profiler.ning.asynchttpclient.entity.dumptype=ALWAYS
|
|
profiler.ning.asynchttpclient.entity.dumpsize=1024
|
|
profiler.ning.asynchttpclient.entity.sampling.rate=1
|
|
profiler.ning.asynchttpclient.param=true
|
|
profiler.ning.asynchttpclient.param.dumptype=ALWAYS
|
|
profiler.ning.asynchttpclient.param.dumpsize=1024
|
|
profiler.ning.asynchttpclient.param.sampling.rate=1
|
|
|
|
|
|
###########################################################
|
|
# Arcus #
|
|
###########################################################
|
|
profiler.arcus=true
|
|
profiler.arcus.keytrace=true
|
|
|
|
|
|
###########################################################
|
|
# Memcached #
|
|
###########################################################
|
|
profiler.memcached=true
|
|
profiler.memcached.keytrace=true
|
|
|
|
|
|
###########################################################
|
|
# ibatis #
|
|
###########################################################
|
|
profiler.orm.ibatis=true
|
|
|
|
|
|
###########################################################
|
|
# mybatis #
|
|
###########################################################
|
|
profiler.orm.mybatis=true
|
|
|
|
|
|
###########################################################
|
|
# spring-beans
|
|
###########################################################
|
|
profiler.spring.beans=true
|
|
profiler.spring.beans.name.pattern=ma.*, outer
|
|
profiler.spring.beans.class.pattern=.*Morae
|
|
profiler.spring.beans.annotation=org.springframework.stereotype.Component
|
|
|
|
###########################################################
|
|
# log4j
|
|
###########################################################
|
|
profiler.log4j.logging.transactioninfo=false
|
|
|
|
###########################################################
|
|
# logback
|
|
###########################################################
|
|
profiler.logback.logging.transactioninfo=false
|