-
Notifications
You must be signed in to change notification settings - Fork 262
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
Make it possible to enable PostgreSQL extra metrics collection #493
Conversation
bb85bf7
to
d351acb
Compare
The current version of the PostgresSQL module integration doesn't handle the following parameters for the Datadog PostgreSQL integration: * collect_function_metrics * collect_count_metrics * collect_activity_metrics * collect_database_size_metrics This way metrics like postgresql.active_queries and postgresql.waiting_queries, for example, were not available. This change aims to make them available whenever desired.
Hi, @truthbk! Should I assign someone to review this PR or should I just wait until the team finds a suitable time for that? |
Took a quick look at the PR and it looks pretty good at a glance. Thank you for adding those tests. I'll give it a detailed pass soon (specifically at the defaults and verify they're sane) - thank you for adding those tests, that really helps @diogokiss Assigning myself. |
You're welcome, @truthbk. And thanks for checking it. Please, let me know if there is anything I need/can improve. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! Thank you very much for the spec tests! Merging!
String $username = 'datadog', | ||
Boolean $ssl = false, | ||
Boolean $use_psycopg2 = false, | ||
Boolean $collect_function_metrics = false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
defaults here are all sane and consistent with integration defaults 👍
…og#493) The current version of the PostgresSQL module integration doesn't handle the following parameters for the Datadog PostgreSQL integration: * collect_function_metrics * collect_count_metrics * collect_activity_metrics * collect_database_size_metrics This way metrics like postgresql.active_queries and postgresql.waiting_queries, for example, were not available. This change aims to make them available whenever desired.
The current version of the PostgresSQL module integration doesn't
handle the following parameters for the Datadog PostgreSQL integration:
This way metrics like postgresql.active_queries and postgresql.waiting_queries,
for example, were not available.
This change aims to make them available whenever desired.