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

Adding multiple db connections support for django-instrumentation's sqlcommenter #1187

Merged

Conversation

Thiyagu55
Copy link
Contributor

Multiple DB Connection support for sqlcommenter django-instrumetation

Opentelemetry-instrumentation-django's sqlcommenter will now be able to support multiple database connections.

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Unit test has been added named test_multiple_connection_support

  • test_multiple_connection_support

Checklist:

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added

@Thiyagu55 Thiyagu55 requested a review from a team July 7, 2022 12:13
@Thiyagu55 Thiyagu55 changed the title Adding multiple connection support for python Adding multiple db connections support for django-instrumentation's sqlcommenter Jul 7, 2022
@Thiyagu55
Copy link
Contributor Author

@srikanthccv for your notice

Copy link
Member

@srikanthccv srikanthccv left a comment

Choose a reason for hiding this comment

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

LGTM, Please make the sqlcommenter specific utils private.

@ocelotl
Copy link
Contributor

ocelotl commented Jul 13, 2022

@srikanthccv Please mark it as approved after the requested changes are in to avoid accidental merging.

Copy link
Member

@srikanthccv srikanthccv left a comment

Choose a reason for hiding this comment

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

blocking to prevent accidental merge. @Thiyagu55 please make the functions private since they are not user facing.

@srikanthccv srikanthccv merged commit 9e2dbec into open-telemetry:main Jul 14, 2022
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.

3 participants