sql_exporter icon indicating copy to clipboard operation
sql_exporter copied to clipboard

KeepAlive configuration parameter is ignored - connections grow with jobs count

Open vladimirfx opened this issue 6 months ago • 0 comments

Use case:

We have 10+ jobs with different schedules pointing to one PostgreSQL instance. All those jobs are configured with keepalive: false but we see established connections equal to the number of jobs all the time.

Research:

Searching sources I've found that the keepalive parameter is not used.

Alternative solution:

Implement named reusable connections: https://github.com/justwatchcom/sql_exporter/issues/90

vladimirfx avatar Aug 12 '24 14:08 vladimirfx