-
Notifications
You must be signed in to change notification settings - Fork 601
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
Instrumenting Async::HTTP #1176
Comments
Hi, @trevorturk! 👋 Thanks for submitting this issue! It was great chatting with you at RailsConf. I could see a spike on this issue fitting in well with #850! I don't believe our team will be able to start work on that until Q3 (approx. October 2022). If you're interested in contributing code to instrument this gem in the meantime, we'd love to assist you! The first step would be to identify the methods that should be instrumented (like the process in the part of the talk about Ruby's Logger class). What methods are you calling when you use Async::HTTP? Do those methods call something else more central that all external requests pass through? When you have some ideas, please bring your research to this issue and our team can take a look to verify whether they seem like the right ones. Thanks again for your submission! |
Thanks for the reply! I don't think I have the time and/or ability to help before Q3 honestly, and I understand if it's not a top priority in any case. I think you'll have more FWIW, I think the hook could be in Thanks again! |
Is your feature request related to a problem? Please describe.
I migrated a Rails application from Puma and Typhoeus to Falcon and Async::HTTP.
New Relic seems to be mostly working well after the switch, but I miss the "Web External" details that I had before on the New Relic dashboard. This would show me the average response time for the external API endpoints I was hitting. I found it useful for setting timeout levels per external API.
(For a little more context, in my app, I'm hitting weather data APIs, and some are slower than others. If I can see the average response time depending on the API hostname, it helps me set appropriate timeouts per data source, to limit my app's autoscaling.)
Only time will tell, but I expect more people to consider using Async::HTTP in the future (I've heard about it in multiple talks at RailsConf 2022 so far) so I would love to see New Relic add support here.
Feature Description
"Web External" instrumentation for the Async::HTTP gem, so I can see average response times etc per external API.
Additional context
Perhaps related to #850, /cc @kaylareopelle who reminded me of this issue during the RailsConf 2022 talk from New Relic.
I'd be happy to help with this feature in any way!
Priority
Really Want. (I've been living without it for a while, but it was useful information that I miss.)
Thank you!
The text was updated successfully, but these errors were encountered: