{
  "id" : "SOEJWEOJWOEJOSDJFOASDJFOSDFO2903870928734",
  "target" : {
    "connection" : {
      "ip" : "192.168.1.107",
      "port" : "5432",
      "ssl" : false,
      "portType" : "tcp"
    },
    "auth" : {
      "url":"jdbc:postgresql://192.168.1.107:5432/postgres",
      "id":"postgres",
      "pw":"!@#$qwer1234"
    }
  },
  "schedule" : {
    "interval" : "10"
  },
  "crawler" : {
    "name":"pgsql",
    "container":"java_proxy"
  },
  "items" : [
    {
      "metrics" : [
        "net.connection_count"
      ],
      "query": {
          "queryInfo":{
            "query" : "select count(pid) as connection_count from pg_catalog.pg_stat_activity where state <> 'idle'" ,
            "parseDirection":"col"
          },
          "keys" : [
            "connection_count"
          ]
        }
    }
  ]
}