Skip to content

Get operation from active instead of complete spans #26

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

Open
quinnmil opened this issue Mar 21, 2025 · 0 comments · May be fixed by #27
Open

Get operation from active instead of complete spans #26

quinnmil opened this issue Mar 21, 2025 · 0 comments · May be fixed by #27
Assignees

Comments

@quinnmil
Copy link
Contributor

In the operation_utils.py, we first try to get the current operation from the operation set on the tracked_request. However, this requires an updated version of the scout-apm package.
For users who are on an older version of the agent, we fallback to attempting to get the operation via the "completed_spans" of the tracked_request. This is incorrect, as we should be instead iterating through the "active_spans".

@quinnmil quinnmil self-assigned this Mar 21, 2025
@quinnmil quinnmil linked a pull request Mar 21, 2025 that will close this issue
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 a pull request may close this issue.

1 participant