Skip to content
This repository was archived by the owner on Sep 17, 2025. It is now read-only.

Use Django 2.0 DB instrumentation#775

Merged
reyang merged 2 commits intocensus-instrumentation:masterfrom
tpyo:add-django2-db-instrumentation
Aug 30, 2019
Merged

Use Django 2.0 DB instrumentation#775
reyang merged 2 commits intocensus-instrumentation:masterfrom
tpyo:add-django2-db-instrumentation

Conversation

@tpyo
Copy link
Copy Markdown
Contributor

@tpyo tpyo commented Aug 26, 2019

This PR continues the work @zoidbergwill started in #358

Have made a couple of small fixes to the original code:

  1. Use the middleware constructor to initialise the DB connection wrapper
  2. Catch exceptions to ensure DB spans are always completed

@tpyo tpyo requested review from a team, c24t, reyang and songy23 as code owners August 26, 2019 15:45
@zoidyzoidzoid
Copy link
Copy Markdown

Awesome work, @tpyo. Will hopefully test this a bit later this week.

Copy link
Copy Markdown
Contributor

@reyang reyang left a comment

Choose a reason for hiding this comment

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

Looks good overall, I have some comments regarding the attribute/status schema.

@reyang
Copy link
Copy Markdown
Contributor

reyang commented Aug 28, 2019

Please rebase and then we're ready to merge.
Thanks for contributing to this!

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants