Skip to content

collector plugin should pass request context #360

@ribrdb

Description

@ribrdb

Expected Behavior

The collector plugin should pass the IncomingRequest or at least the context.Context to the report handlers.

For example, if I want to log the report I need the context so that I can get to the FlightData from my logging interceptor.

Or maybe I have dynamic report-to urls. E.g, I want to embed the release version into the url so I know which version of the app triggered the report. Then I need some way to get the URL of the incoming request.

Metadata

Metadata

Assignees

No one assigned

    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