Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

collector plugin should pass request context #360

Open
ribrdb opened this issue Dec 27, 2023 · 0 comments
Open

collector plugin should pass request context #360

ribrdb opened this issue Dec 27, 2023 · 0 comments

Comments

@ribrdb
Copy link

ribrdb commented Dec 27, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant