Commit 1c14f848 authored by Pablo Carranza's avatar Pablo Carranza Committed by GitLab

Add explanation on how to run pgbadger

parent 01ef4d5e
......@@ -125,6 +125,7 @@ The aim of this project is to have a quick guide of what to do when an emergency
* [Work with Kibana (logs view)](howto/
* [Work with Check_MK (Notifications, scheduled downtime, acknowledge problems)](howto/
* [Reload CheckMK metrics](howto/
* [Run pgbadger to analyze queries](howto/
## General guidelines in an emergency
......@@ -64,4 +64,7 @@ JOIN pg_stat_activity blockinga ON =
WHERE NOT blockedl.granted;
## Run pgbadger in the primary database server
* sudo up
* `pgbadger | /usr/bin/pgbadger -o output.txt -`
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment