Skip to content

Need to be able to collect caller stacks via ActiveSupport::Notifications #5933

@gnarg

Description

@gnarg

Hi,

For use in the New Relic Ruby agent, we need to be able to collect arbitrary caller execution stacks. We do this to indicate to users where in their code certain slow actions are taking place (eg slow db transactions). Collecting traces for raised exceptions is not a problem, but deciding post-facto that we want to know what the callers to a particular method seems difficult.

I talked briefly to Mr. Katz at GoGaRuCo and Ruby on Ales and he suggested I open a ticket for discussion on the topic. I recently got the chance to work on this, so I figured RailsConf would be a good time to bring this up.

Thanks for your attention.

Regards,
Jon

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions