alibaba / TProfiler

TProfiler是一个可以在生产环境长期使用的性能分析工具
GNU General Public License v2.0
2.38k stars 923 forks source link

配置文件支持变量功能已开发完毕且通过测试 #22

Closed manlge closed 11 years ago

manlge commented 11 years ago

兼容以前的profile.properties

新的默认文件内容

log file name

logFileName = tprofiler.log methodFileName = tmethod.log samplerFileName = tsampler.log

basic configuration items

startProfTime = 9:00:00 endProfTime = 11:00:00 eachProfUseTime = 5 eachProfIntervalTime = 50 samplerIntervalTime = 20 port = 50000 debugMode = false needNanoTime = false ignoreGetSetMethod = true

file paths

logFilePath = ${user.home}/logs/${logFileName} methodFilePath = ${user.home}/logs/${methodFileName} samplerFilePath = ${user.home}/logs/${samplerFileName}

exclude & excludes items

excludeClassLoader = org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader includePackageStartsWith = com.taobao;com.taobao.common excludePackageStartsWith = com.taobao.sketch;org.apache.velocity;com.alibaba;com.taobao.forest.domain.dataobject