From ab9fe2a41e090e9e8dfc6fb17c1519e20d7c2763 Mon Sep 17 00:00:00 2001 From: Thomas Menard Date: Fri, 18 Mar 2016 16:09:34 +0100 Subject: [PATCH] Update README.md --- plugins/inputs/postgresql_extensible/README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/plugins/inputs/postgresql_extensible/README.md b/plugins/inputs/postgresql_extensible/README.md index 9e8dfe504..e9fbc571c 100644 --- a/plugins/inputs/postgresql_extensible/README.md +++ b/plugins/inputs/postgresql_extensible/README.md @@ -112,13 +112,15 @@ using postgreql extensions ([pg_stat_statements](http://www.postgresql.org/docs/ tagvalue="db" ``` -- postgresql.conf : +# Postgresql Side +postgresql.conf : ``` shared_preload_libraries = 'pg_stat_statements,pg_stat_kcache' ``` - - In the database (can be a specific monitoring db) - +Please follow the requirements to setup those extensions. + +In the database (can be a specific monitoring db) ``` create extension pg_stat_statements; create extension pg_stat_kcache; @@ -129,8 +131,8 @@ create extension pg_proctab; - pg_stat_kcache is available on the postgresql.org yum repo - pg_proctab is available at : https://github.com/markwkm/pg_proctab - - Views - - Blocking sessions + ##Views + - Blocking sessions ``` CREATE OR REPLACE VIEW public.blocking_procs AS SELECT a.datname AS db,