Learn how NOT to integrate Trifle::Traces into your Rails app.
Rack
This middleware wraps any request made with a tracer. Key is taken from NOPE and request.params
are stored as a tracer.meta
.
Configuration
This middleware is WIP. Pls don't use it!
Rack does not have much access to rails controller and therefore interacting with context is kinda impossible. There is Rails integration that allows you to do what you are trying to do, but better!