From 3e1c690f0c981ddff13440dbf295db3e55efe467 Mon Sep 17 00:00:00 2001 From: Woonduk Kang Date: Fri, 20 Jun 2014 06:40:15 +0000 Subject: [PATCH] =?UTF-8?q?[=EA=B0=95=EC=9A=B4=EB=8D=95]=20[PROFILER-46]?= =?UTF-8?q?=20udp=20socket=EC=9D=98=20=EC=98=B5=EC=85=98=EC=9D=84=20?= =?UTF-8?q?=EB=8F=99=EC=A0=81=EC=9C=BC=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= =?UTF-8?q?=EA=B0=80=EB=8A=A5=ED=95=98=EB=8F=84=EB=A1=9D=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=ED=95=A8.=20=20-=20socket=EC=9D=98=20sendbuffersize,?= =?UTF-8?q?=20timeout=20=EC=9D=B4=20=EA=B0=80=EB=8A=A5=ED=95=A8.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-profiler-bootstrap/trunk@4061 84d0f5b1-2673-498c-a247-62c4ff18d310 --- .../bootstrap/config/ProfilerConfig.java | 52 ++----------------- 1 file changed, 4 insertions(+), 48 deletions(-) diff --git a/src/main/java/com/nhn/pinpoint/bootstrap/config/ProfilerConfig.java b/src/main/java/com/nhn/pinpoint/bootstrap/config/ProfilerConfig.java index 4cf8dda4c..543450b08 100644 --- a/src/main/java/com/nhn/pinpoint/bootstrap/config/ProfilerConfig.java +++ b/src/main/java/com/nhn/pinpoint/bootstrap/config/ProfilerConfig.java @@ -27,11 +27,11 @@ public class ProfilerConfig { private int spanDataSenderWriteQueueSize = 1024 * 5; private int spanDataSenderSocketSendBufferSize = 1024 * 64 * 16; - private int spanDataSenderSocketTimeout = 1000 * 5; + private int spanDataSenderSocketTimeout = 1000 * 3; private int statDataSenderWriteQueueSize = 1024 * 5; private int statDataSenderSocketSendBufferSize = 1024 * 64 * 16; - private int statDataSenderSocketTimeout = 1000 * 5; + private int statDataSenderSocketTimeout = 1000 * 3; private int jdbcSqlCacheSize = 1024; @@ -481,11 +481,11 @@ public class ProfilerConfig { this.spanDataSenderWriteQueueSize = readInt(prop, "profiler.spandatasender.write.queue.size", 1024 * 5); this.spanDataSenderSocketSendBufferSize = readInt(prop, "profiler.spandatasender.socket.sendbuffersize", 1024 * 64 * 16); - this.spanDataSenderSocketTimeout = readInt(prop, "profiler.spandatasender.socket.timout", 1024 * 5); + this.spanDataSenderSocketTimeout = readInt(prop, "profiler.spandatasender.socket.timeout", 1000 * 3); this.statDataSenderWriteQueueSize = readInt(prop, "profiler.statdatasender.write.queue.size", 1024 * 5); this.statDataSenderSocketSendBufferSize = readInt(prop, "profiler.statdatasender.socket.sendbuffersize", 1024 * 64 * 16); - this.statDataSenderSocketTimeout = readInt(prop, "profiler.statdatasender.socket.timout", 1024 * 5); + this.statDataSenderSocketTimeout = readInt(prop, "profiler.statdatasender.socket.timeout", 1000 * 3); // JDBC @@ -685,50 +685,6 @@ public class ProfilerConfig { return result; } -// @Override -// public String toString() { -// -// final StringBuilder sb = new StringBuilder(512); -// sb.append("ProfilerConfig{"); -// sb.append("\n profileEnable=").append(profileEnable); -// sb.append("\n collectorServerIp='").append(collectorServerIp).append('\''); -// sb.append("\n collectorUdpSpanServerPort=").append(collectorUdpSpanServerPort); -// sb.append("\n collectorUdpServerPort=").append(collectorUdpServerPort); -// sb.append("\n collectorTcpServerPort=").append(collectorTcpServerPort); -// sb.append("\n jdbcSqlCacheSize=").append(jdbcSqlCacheSize); -// sb.append("\n jdbcProfile=").append(jdbcProfile); -// sb.append("\n jdbcProfileMySql=").append(jdbcProfileMySql); -// sb.append("\n jdbcProfileMySqlSetAutoCommit=").append(jdbcProfileMySqlSetAutoCommit); -// sb.append("\n jdbcProfileMySqlCommit=").append(jdbcProfileMySqlCommit); -// sb.append("\n jdbcProfileMySqlRollback=").append(jdbcProfileMySqlRollback); -// sb.append("\n jdbcProfileMsSql=").append(jdbcProfileMsSql); -// sb.append("\n jdbcProfileOracle=").append(jdbcProfileOracle); -// sb.append("\n jdbcProfileOracleSetAutoCommit=").append(jdbcProfileOracleSetAutoCommit); -// sb.append("\n jdbcProfileOracleCommit=").append(jdbcProfileOracleCommit); -// sb.append("\n jdbcProfileOracleRollback=").append(jdbcProfileOracleRollback); -// sb.append("\n jdbcProfileCubrid=").append(jdbcProfileCubrid); -// sb.append("\n jdbcProfileCubridSetAutoCommit=").append(jdbcProfileCubridSetAutoCommit); -// sb.append("\n jdbcProfileCubridCommit=").append(jdbcProfileCubridCommit); -// sb.append("\n jdbcProfileCubridRollback=").append(jdbcProfileCubridRollback); -// sb.append("\n jdbcProfileDbcp=").append(jdbcProfileDbcp); -// sb.append("\n jdbcProfileDbcpConnectionClose=").append(jdbcProfileDbcpConnectionClose); -// sb.append("\n arucs=").append(arucs); -// sb.append("\n arucsKeyTrace=").append(arucsKeyTrace); -// sb.append("\n memcached=").append(memcached); -// sb.append("\n memcachedKeyTrace=").append(memcachedKeyTrace); -// sb.append("\n samplingEnable=").append(samplingEnable); -// sb.append("\n samplingRate=").append(samplingRate); -// sb.append("\n ioBufferingEnable=").append(ioBufferingEnable); -// sb.append("\n ioBufferingBufferSize=").append(ioBufferingBufferSize); -// sb.append("\n profileJvmCollectInterval=").append(profileJvmCollectInterval); -// sb.append("\n profileInclude=").append(profileInclude); -// sb.append("\n profileIncludeSub=").append(profileIncludeSub); -// sb.append("\n heartbeatInterval=").append(heartbeatInterval); -// sb.append("\n applicationServerType=").append(applicationServerType); -// sb.append('}'); -// return sb.toString(); -// } - @Override public String toString() {