Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

LogSlowPostgres

Docker container that runs a loop logging slow postgres queries.

Configuration

All configuration is via environment variables.

  • PGHOST - host to connect to. Required.
  • SLOW_QUERY_LIMIT - minimum length query to log. Defaults to "5 minutes"
  • SLEEP_INTERVAL - interval in seconds to sleep between logging. Defaults to 300(5 minutes).

All other standard postgres environment variables are recongized.

About

Docker container that runs a loop logging slow postgres queries

Resources

Stars

0 stars

Watchers

19 watching

Forks

Releases

Packages

Contributors

Languages