0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-19 19:53:25 +00:00
netdata_netdata/collectors/python.d.plugin/postgres
Promise Akpan f5006d51e8 Fix Markdown Lint warnings ()
* make remark access all directories

* detailed fix after autofix by remark lint

* cross check autofix for this set of files

* crosscheck more files

* crosschecking and small fixes

* crosscheck autofixed md files
2019-08-15 13:06:39 +02:00
..
Makefile.inc Fix make dist () 2018-10-16 15:26:28 +03:00
postgres.chart.py postgres module: connect via uri () 2019-04-01 12:25:03 +03:00
postgres.conf postgres module: connect via uri () 2019-04-01 12:25:03 +03:00
README.md Fix Markdown Lint warnings () 2019-08-15 13:06:39 +02:00

postgres

Module monitors one or more postgres servers.

Requirements:

  • python-psycopg2 package. You have to install it manually.

Following charts are drawn:

  1. Database size MB

    • size
  2. Current Backend Processes processes

    • active
  3. Write-Ahead Logging Statistics files/s

    • total
    • ready
    • done
  4. Checkpoints writes/s

    • scheduled
    • requested
  5. Current connections to db count

    • connections
  6. Tuples returned from db tuples/s

    • sequential
    • bitmap
  7. Tuple reads from db reads/s

    • disk
    • cache
  8. Transactions on db transactions/s

    • committed
    • rolled back
  9. Tuples written to db writes/s

    • inserted
    • updated
    • deleted
    • conflicts
  10. Locks on db count per type

    • locks

configuration

For all available options please see module configuration file.

socket:
  name         : 'socket'
  user         : 'postgres'
  database     : 'postgres'

tcp:
  name         : 'tcp'
  user         : 'postgres'
  database     : 'postgres'
  host         : 'localhost'
  port         : 5432

When no configuration file is found, module tries to connect to TCP/IP socket: localhost:5432.


analytics