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

Research possibilty to allow metadata to be set through the request env #331

Closed
tombruijn opened this issue Aug 11, 2017 · 1 comment
Closed

Comments

@tombruijn
Copy link
Member

tombruijn commented Aug 11, 2017

Add the metadata in the integration middleware and read that from the generic rack middleware as described in #329

request.env["Appsignal.params"] = { "foo": "bar" }
# request.env["appsignal"]["params"] = { "foo": "bar" }
# request.env["appsignal"].params = { "foo": "bar" }

and then we'll capture that in the rack middleware ensure and set it on the transaction there.

@tombruijn
Copy link
Member Author

Not sure if we should still do this. We have helpers for it.
If no one else disagrees close then the next time I see it.

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

No branches or pull requests

1 participant