39 lines
769 B
Plaintext
39 lines
769 B
Plaintext
{
|
|
"configID" : "989238744",
|
|
"target" : {
|
|
"connection" : {
|
|
"ip" : "192.168.1.50",
|
|
"port" : "5432",
|
|
"ssl" : false,
|
|
"portType" : "tcp"
|
|
},
|
|
"auth" : {
|
|
"url":"jdbc:postgresql://192.168.1.50:5432/overflow",
|
|
"id":"overflow",
|
|
"pw":"qwer5795"
|
|
},
|
|
"meta": {
|
|
}
|
|
},
|
|
"schedule" : {
|
|
"interval" : "3"
|
|
},
|
|
"crawler" : {
|
|
"name":"POSTGRESQL",
|
|
"container":"GENERAL"
|
|
},
|
|
"items" : [
|
|
{
|
|
"keys" : [
|
|
{
|
|
"metric":"net.pgsql.connection_count",
|
|
"key" : "connection_count"
|
|
}
|
|
],
|
|
"queryInfo":{
|
|
"query" : "select count(pid) as connection_count from pg_catalog.pg_stat_activity where state <> 'idle';"
|
|
},
|
|
"mappingInfo" : {}
|
|
}
|
|
]
|
|
} |