-
Notifications
You must be signed in to change notification settings - Fork 437
fix(django): add check for instrument view mro #1744
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
Conversation
b949596
to
4269e8f
Compare
"parent_id" 22 | ||
"start" 1603387537985202934 | ||
"duration" 291333} | ||
{"name" "django.view" |
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.
👍 this span was not being generated before.
"parent_id" 0 | ||
"start" 1603387527594692000 | ||
"duration" 18000} | ||
{"name" "django.view" |
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.
👍
"parent_id" 0 | ||
"start" 1603387459871710000 | ||
"duration" 311000} | ||
{"name" "django.view" |
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.
👍
"parent_id" 22 | ||
"start" 1603387538032015035 | ||
"duration" 6002} | ||
{"name" "django.view" |
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.
👍
"parent_id" 0 | ||
"start" 1603387527648070000 | ||
"duration" 17000} | ||
{"name" "django.view" |
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.
👍
"parent_id" 0 | ||
"start" 1603387459925138000 | ||
"duration" 258000} | ||
{"name" "django.view" |
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.
👍
"parent_id" 22 | ||
"start" 1603387534004599101 | ||
"duration" 11020} | ||
{"name" "django.view" |
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.
👍
"duration" 11020} | ||
{"name" "django.view" | ||
"service" "django" | ||
"resource" "partial" |
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.
This resource name isn't particularly useful. We should probably follow up addressing this.
"parent_id" 22 | ||
"start" 1603387537920451875 | ||
"duration" 4969} | ||
{"name" "django.view" |
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.
👍
"parent_id" 22 | ||
"start" 1603387533906915258 | ||
"duration" 7068} | ||
{"name" "django.view" |
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.
👍
Description
We had been silently failing to instrument views for
feed-view
,partial-view
andinclude
because of a change introduced with #1625. Tracer debug logs do show this. This PR fixes the instrumentation code to check if the view has an mro before traversing it and fixes the tests by adding snapshot regressions.Checklist
Library documentation is updated.Corp site documentation is updated (link to the PR).