Skip to content

feat: add pg_stat_activity polling

Andrew Newdigate requested to merge pg_stat_activity into master

This change adds a pg_stat_activity polling plugin to fluentd.

Every 2 minutes it will sample the running activity on the local postgres instance and emit the results to fluentd.

Since the plugin parses the marginalia of the activity, we can use this to build up much better profiles of which endpoints are running certain statements.

cc @dblessing as this is something you've requested in the past for understanding where in the application a specific statement is being called from.

cc @Finotto @nnelson

Edited by Andrew Newdigate

Merge request reports