Skip to content

Allow the agent to instrument Rails dependencies on their own #1769

Open
@kaylareopelle

Description

Description

Currently, Active Record is the only confirmed library that can be instrumented outside of a Rails context. We've tried to design the dependency detection logic for other Rails-related gems (Active Support, Action Controller, etc.) to install instrumentation when the Rails gem is absent, but don't have tests to verify this behavior

Acceptance Criteria

  • Write tests that allow the following gems to be instrumented when the rails gem is absent:
    • actioncontroller
    • activejob
    • actioncable
    • activesupport
    • activestorage
    • actionview
    • actiondispatch
    • actionmailer
    • actionmailbox

Design Consideration/Limitations

If unit tests are too difficult, a repeatable playground-based test could be used instead

Dependencies

None

Additional context

Internal conversations:

Estimates

S

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions