Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is obfuscator_options.collect_comments config is enable comment in postgresql.queries.* metrics? #27378

Open
CedricCouton opened this issue Jul 5, 2024 · 0 comments

Comments

@CedricCouton
Copy link

CedricCouton commented Jul 5, 2024

Hi,

Is it possible to see comment in metadata as "command" and "table" in the metadatas of the postgresql.queries.* metrics?
When I look the source code it seems that by default obfuscator_options.collect_comments is set to true.

I'm ok that potentially the comments aren't uniq but in case of unicity? For example if we have /* team=TEAM1 */ can we extract it?

Thanks.

@CedricCouton CedricCouton changed the title Is obfuscator_options.collect_comments config is visible in postgresql.queries.* metrics? Is obfuscator_options.collect_comments config is enable comment in postgresql.queries.* metrics? Jul 5, 2024
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

No branches or pull requests

1 participant