Add pgbouncer input plugin (#3918)

This commit is contained in:
Loïc Blot
2018-08-02 00:44:10 +02:00
committed by Greg
parent e1160c26bc
commit 429d14101a
11 changed files with 311 additions and 1 deletions

View File

@@ -283,6 +283,7 @@ func init() {
MaxLifetime: internal.Duration{
Duration: 0,
},
IsPgBouncer: false,
},
}
})

View File

@@ -17,6 +17,7 @@ func queryRunner(t *testing.T, q query) *testutil.Accumulator {
"host=%s user=postgres sslmode=disable",
testutil.GetLocalHost(),
),
IsPgBouncer: false,
},
Databases: []string{"postgres"},
Query: q,