# Module: postgresql # Docs: https://www.elastic.co/guide/en/beats/metricbeat/7.8/metricbeat-module-postgresql.html - module: postgresql #metricsets: # - database # - bgwriter # - activity period: 10s hosts: ["postgres://localhost:5432"] username: {{ metricbeat_pgsql_username }} password: {{ metricbeat_pgsql_pass }}