DataDog / dd-trace-php

Datadog PHP Clients
https://docs.datadoghq.com/tracing/setup/php
Other
481 stars 149 forks source link

[Feature] Include max memory usage in root span #2724

Open matthewnessworthy opened 1 week ago

matthewnessworthy commented 1 week ago

Describe the feature you'd like

It would be great to get an overview of the most memory intensive operations, specifically for processes that have a bit less visibility, very specifically, Laravel queue jobs

Is your feature request related to a problem?

Sometimes our DD dashboards indicate queue worker services hitting 100% memory usage, but because the service handles a plethora of queue jobs, tracking down the jobs that are causing memory issues is tricky at best

Describe alternatives you've considered

No response

Additional context

No response

realFlowControl commented 1 week ago

Hey there 👋 do you by chance use the profiler and the tracer, or just the tracer? Kind regards Florian

matthewnessworthy commented 1 week ago

We do have the profiler setup, but i'm unaware of a way to group all queue actions, filter based on memory usage, and review the specific offending jobs

realFlowControl commented 1 hour ago

Hey @matthewnessworthy, Sorry for the radio silence, I am back from conferences now! I found you on the Datadog Public Slack and DM'ed you there.