diff --git a/test_agent/config/container/java_proxy/sql/444441122312 b/test_agent/config/container/java_proxy/sql/444441122312 new file mode 100644 index 0000000..e7e8ede --- /dev/null +++ b/test_agent/config/container/java_proxy/sql/444441122312 @@ -0,0 +1,44 @@ +{ + "id" : "444441122312", + "target" : { + "connection" : { + "ip" : "192.168.1.104", + "port" : "6379", + "ssl" : false, + "portType" : "tcp" + }, + "auth" : { + "url":"jdbc:mysql://192.168.1.215:3306", + "id":"root", + "pw":"qwe123" + } + }, + "schedule" : { + "interval" : "10" + }, + "crawler" : { + "name":"SQL", + "container":"java_proxy" + }, + "items" : [ + { + "keys" : [ + { + "metric":"net.connection_count", + "key":"Connections" + } + + ], + "queryInfo" : { + "query":"show status where `variable_name` = 'Connections'" + }, + "mappingInfo" : { + "parseDirection" : "row", + "valueColumn" : "Value", + "keyColumns" : [ + "Variable_name" + ] + } + } + ] +} \ No newline at end of file