sql_exporter
sql_exporter copied to clipboard
Add `no_prepared_statement` to skip prepared statements
Some database/sql drivers do not support prepared statements, and we would like the option to be able to force sql_exporter to not invoke prepared context at all.
This PR adds no_prepared_statement to both metric- and query-config.
I would really like to be able to use this feature for something I'm working on!