go-safeweb
go-safeweb copied to clipboard
collector plugin should pass request context
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.