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

Add streaming endpoints for Rails/Sinatra #186

Closed
wants to merge 4 commits into from

Conversation

julik
Copy link
Contributor

@julik julik commented Feb 13, 2024

I've tried to use the prescribed setup but for some reason i.e. Puma inside Docker is not able to bind to the socket when I start it. There are also a few shenanigans because Sinatra installs 4.0.0 by default, which pulls in Rack 3. This makes for a good test case but I don't know whether Appsignal is Rack 3.x compatible as of now... it should be (esp. including the changes I am making in the agent) but could use extra verification.

@tombruijn
Copy link
Member

I don't think we'll need an endpoint to test this on every rails app. Just one app per Rails version would be fine.

I'd keep it in only the rails6-mysql, rails7-postgres and sinatra apps.
Would be nice if those apps had one endpoint for a streaming response without an error and one endpoint for a streaming response with an error.

Co-authored-by: Tom de Bruijn <tom@tomdebruijn.com>
@tombruijn
Copy link
Member

Closing in favor of #187

@tombruijn tombruijn closed this Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants