Skip to content

Conversation

@cristiangreco
Copy link
Contributor

Add a couple of of options to the stat_statements collector that allow excluding certain database names or user names from metrics.

This is useful if you don't care about certain preconfigured databases with admin activity.

Add a couple of of options to the `stat_statements` collector that
allow excluding certain database names or user names from metrics.

This is useful if you don't care about certain preconfigured databases
with admin activity.

Signed-off-by: Cristian Greco <cristian@regolo.cc>
@cristiangreco cristiangreco force-pushed the cristian/pgstatstatements-exclude-dbs-users branch from 95b4bb3 to 0cfc7b2 Compare December 15, 2025 11:02
Comment on lines +159 to +160
* `--collector.stat_statements.limit`
Maximum number of statements to return. Default is 100.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Drive-by: forgot to update the README in #1205

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants