Skip to content

Commit 263befa

Browse files
committed
change default period to 30 seconds
remove queries from default
1 parent a01d813 commit 263befa

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

pang-apps-monitor-mysqlmariadb/conf/pang.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
pang.username=your username in pangdata
33
pang.userkey=your userkey in pangdata
44
# Data sending schedule period(seconds)
5-
pang.period = 10
5+
pang.period = 30
66
pang.prefix =
77

88
#Don't worry. We do not send any information about connection properties
@@ -25,7 +25,7 @@ status.Threads_connected = true
2525
#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.
2626
status.Max_used_connections = true
2727
status.Cpu_time = false
28-
status.Queries = true
28+
status.Queries = false
2929
status.Memory_used = false
3030
status.Innodb_deadlocks = false
3131
# 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.

src/test/resources/pang.properties

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
#Prever.io reserved properties
2-
pang.username=your username in pangdata.com
3-
pang.userkey=your user key in pangdata.com
1+
#pangdata reserved properties
2+
pang.username=your username in pangdata
3+
pang.userkey=your userkey in pangdata
44
# Data sending schedule period(seconds)
5-
pang.period = 10
5+
pang.period = 30
66
pang.prefix =
77

88
#Don't worry. We do not send any information about connection properties
99
jdbc.driverClassName=com.mysql.jdbc.Driver
10-
jdbc.url=jdbc:mysql://localhost
11-
jdbc.username=user
10+
jdbc.url=jdbc:mysql://127.0.0.1:3306
11+
jdbc.username=username
1212
jdbc.password=password
1313

1414
######################################################################
@@ -25,7 +25,7 @@ status.Threads_connected = true
2525
#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.
2626
status.Max_used_connections = true
2727
status.Cpu_time = false
28-
status.Queries = true
28+
status.Queries = false
2929
status.Memory_used = false
3030
status.Innodb_deadlocks = false
3131
# 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.

0 commit comments

Comments
 (0)