From 263befa86c9754d0b2147ee44600b6d92d354773 Mon Sep 17 00:00:00 2001 From: derek-bh Date: Mon, 7 Nov 2016 09:37:12 +0900 Subject: [PATCH] change default period to 30 seconds remove queries from default --- .../conf/pang.properties | 4 ++-- src/test/resources/pang.properties | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/pang-apps-monitor-mysqlmariadb/conf/pang.properties b/pang-apps-monitor-mysqlmariadb/conf/pang.properties index 49bca5e..6b7ef0e 100644 --- a/pang-apps-monitor-mysqlmariadb/conf/pang.properties +++ b/pang-apps-monitor-mysqlmariadb/conf/pang.properties @@ -2,7 +2,7 @@ pang.username=your username in pangdata pang.userkey=your userkey in pangdata # Data sending schedule period(seconds) -pang.period = 10 +pang.period = 30 pang.prefix = #Don't worry. We do not send any information about connection properties @@ -25,7 +25,7 @@ status.Threads_connected = true #This value provides a benchmark to help you decide the maximum number of connections your server should support. It can also help in traffic analysis. status.Max_used_connections = true status.Cpu_time = false -status.Queries = true +status.Queries = false status.Memory_used = false status.Innodb_deadlocks = false # Performing filesystem reads for database indexes slows query performance. If this variable is high, it indicates that MySQL's key cache is overloaded and should be reconfigured. diff --git a/src/test/resources/pang.properties b/src/test/resources/pang.properties index 8adcba3..6b7ef0e 100644 --- a/src/test/resources/pang.properties +++ b/src/test/resources/pang.properties @@ -1,14 +1,14 @@ -#Prever.io reserved properties -pang.username=your username in pangdata.com -pang.userkey=your user key in pangdata.com +#pangdata reserved properties +pang.username=your username in pangdata +pang.userkey=your userkey in pangdata # Data sending schedule period(seconds) -pang.period = 10 +pang.period = 30 pang.prefix = #Don't worry. We do not send any information about connection properties jdbc.driverClassName=com.mysql.jdbc.Driver -jdbc.url=jdbc:mysql://localhost -jdbc.username=user +jdbc.url=jdbc:mysql://127.0.0.1:3306 +jdbc.username=username jdbc.password=password ###################################################################### @@ -25,7 +25,7 @@ status.Threads_connected = true #This value provides a benchmark to help you decide the maximum number of connections your server should support. It can also help in traffic analysis. status.Max_used_connections = true status.Cpu_time = false -status.Queries = true +status.Queries = false status.Memory_used = false status.Innodb_deadlocks = false # Performing filesystem reads for database indexes slows query performance. If this variable is high, it indicates that MySQL's key cache is overloaded and should be reconfigured.