-
Notifications
You must be signed in to change notification settings - Fork 227
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
Superfluous log messages #2352
Comments
Hi, @tbglazer. What version of |
Actually, more specifically, what is the output of running:
in your "C:\git\Snifit" directory? From the line numbers in your stacktrace, my guess is that you have [email protected]. In the next version of that package, a fix was added to ensure that the APM agent did not try to trace its own communications: https://github.com/elastic/apm-nodejs-http-client/blob/master/CHANGELOG.md#v990 The two superfluous log lines you are seeing are instrumentation of the APM agent making its own http request to APM server to report collected trace data. If you upgrade to the latest 'elastic-apm-node' you should get a more recent version of its 'elastic-apm-http-client' dependency to get this fix. Please let me know if that works for you. |
Thanks Mick for your help I did the update and it works fine without extra messages. |
@tbglazer Regarding webpack: I'll quote some comments I made when recently looking into this a little bit. [From https://github.com//issues/2318#issuecomment-919364997]
Our APM agent docs are somewhat lacking in advice here. I have #1967 opened on me to improve those docs (and possibly see if there are some improvements that can be made in the agent to make it easier) for using the APM agent with bundlers like webpack. (I'm going to close this, because the original issue has been answered. If you have more questions about webpack or otherwise, please feel free to open a new issue or discussion on #1967.) |
I'm not sure if its an issue or I'm missing something : it connects to the server and works fine only the logger when in debug
displays every 30 seconds two log messages as shown in the picture (I added a stack trace in http-shared)
The text was updated successfully, but these errors were encountered: