-
Notifications
You must be signed in to change notification settings - Fork 981
Not tracking on NewRelic #600
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
Comments
Hey, sorry for the delay (was out of town and then got sick). To be honest, I really have no idea. I'll do some reading to see if there is something that the client needs to do to show up as to NewRelic. It may be something that they do internally, like watching curl requests and classifying them based on protocol/content/etc. Not sure, sorry :/ I'll let you know if I discover anything |
No worries, thanks for looking into it. |
I've been digging into this. Guzzle wraps curl connections and it's been a know issue with Newrelic for a long time. But now, the New Relic team added a
I guess the fix is to use plain Guzzle. |
Found this to be relevant: https://lukewaite.ca/posts/2017/07/15/php-newrelic-instrumentation-elasticseach.html |
Oh that's awesome thanks @fedeisas I'll dig into it. One question though, where do you use/put the code you pasted on your first comment? |
@brayann that code is actually from this package's source code. But if you go to the link I posted on the previous message, you'll find a library and the snippet to use Guzzle with a RingPHP wrapper. |
Solved here. I'm refactoring |
@ezimuel could this release be. related to this issue? I can no longer use the lukewaite/ringphp-guzzle-handler because it requires I removed |
@fedeisas unfortunately guzzlehttp/ringphp is an abandoned project. I fork it into ezimuel/ringphp and from |
Are you still moving away from RingPHP on the next version? I’ll be glad to contribute. |
Summary of problem or feature request
I'm not really sure if this is something regarding your library (I'm sorry if it isn't), but for some reason NewRelic doesn't consider requests made to the elastic search as an External Service or just as a DB.
It does recognize for example our Redis instance as a DB, which is external (Elasticache), and also other external services that we call using either curl or guzzle.
I searched for it on the issues and didn't find anything related, it might be a dumb question but I'm really not sure how to do it. I'm considering using Newrelic's functions on my PHP code to try to track it down manually.
System details
The text was updated successfully, but these errors were encountered: