From b1b0efa54645004171e91978da92391e077fa28f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Sad=C5=82ocha?= Date: Tue, 9 May 2017 21:58:43 +0200 Subject: [PATCH] Improve PostgreSQL plugin documentation (#2777) --- plugins/inputs/postgresql_extensible/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/inputs/postgresql_extensible/README.md b/plugins/inputs/postgresql_extensible/README.md index ab5222955..d388843ce 100644 --- a/plugins/inputs/postgresql_extensible/README.md +++ b/plugins/inputs/postgresql_extensible/README.md @@ -130,9 +130,9 @@ 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 + ## Views - Blocking sessions -``` +```sql CREATE OR REPLACE VIEW public.blocking_procs AS SELECT a.datname AS db, kl.pid AS blocking_pid, @@ -156,7 +156,7 @@ CREATE OR REPLACE VIEW public.blocking_procs AS ORDER BY a.query_start; ``` - Sessions Statistics -``` +```sql CREATE OR REPLACE VIEW public.sessions AS WITH proctab AS ( SELECT pg_proctab.pid,