github.com/netdata/go.d.plugin@v0.58.1/config/go.d/postgres.conf (about)

     1  ## All available configuration options, their descriptions and default values:
     2  ## https://github.com/netdata/go.d.plugin/tree/master/modules/postgres
     3  
     4  #update_every: 1
     5  #autodetection_retry: 0
     6  #priority: 70000
     7  
     8  jobs:
     9    # User postgres
    10    - name: local
    11      dsn: 'postgresql://postgres:postgres@127.0.0.1:5432/postgres'
    12      #collect_databases_matching: '*'
    13    - name: local
    14      dsn: 'host=/var/run/postgresql dbname=postgres user=postgres'
    15      #collect_databases_matching: '*'
    16  
    17    # User netdata
    18    - name: local
    19      dsn: 'postgresql://netdata@127.0.0.1:5432/postgres'
    20      #collect_databases_matching: '*'
    21    - name: local
    22      dsn: 'host=/var/run/postgresql dbname=postgres user=netdata'
    23      #collect_databases_matching: '*'