Skip to content

Commit

Permalink
Improve PostgreSQL plugin documentation (influxdata#2777)
Browse files Browse the repository at this point in the history
  • Loading branch information
Necior authored and danielnelson committed May 9, 2017
1 parent 5af985e commit 8124cfa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/inputs/postgresql_extensible/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 8124cfa

Please sign in to comment.