Skip to content

Get operation from active instead of complete spans #26

@quinnmil

Description

@quinnmil

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".

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions