Skip to content

[BUG]: Enabling Code origin for spans spikes CPU resources #14524

@awilson1801

Description

@awilson1801

Tracer Version(s)

3.7.0

Python Version(s)

3.12.7

Pip Version(s)

23.0.1

Bug Report

We recently turned on "Code Origin for Spans" via environment variable and noticed that it cause CPU to spike in our Django applications:

Image

We had to turn the feature off for all applications while we investigate. One thing that stood out to us is the massive increase in time spent in the django cache layer:

Image

Reproduction Code

No response

Error Logs

No response

Libraries in Use

Django 4.2

Operating System

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions