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

[Bug]: Logging Sending spans via span buffer message without debug level #1316

Closed
roberto-nascimento opened this issue Sep 6, 2024 · 4 comments
Assignees
Labels

Comments

@roberto-nascimento
Copy link

Problem Description

Hello, we are using instana with fargate, we´ve noticed that even with instana env INSTANA_LOG_LEVEL=warn, and no env INSTANA_DEBUG is set, we are getting this debug log. only this debug log is appearing. It is ingesting a lot of cloudwatch log that we do not need.

The strange thing is that on your code thia log is using debug logger.

logger.debug(Sending spans via span buffer (no. of spans: ${spansToSend.length}));

2024-09-05T21:19:08.479-03:00 Sending spans via span buffer (no. of spans: 5)
2024-09-05T21:19:07.477-03:00 Sending spans via span buffer (no. of spans: 20)
2024-09-05T21:19:06.476-03:00 Sending spans via span buffer (no. of spans: 20)

Short, Self Contained Example

We are only using docker layer, no npm collector:

INSTALL INSTANA AGENT

COPY --from=icr.io/instana/aws-fargate-nodejs:latest /instana /instana
RUN /instana/setup.sh
and starting it with in NODE_OPITIONS.

Node.js Version

NodeJs 20

package.json

no npm package

package-lock.json

no npm package
@abhilash-sivan
Copy link
Contributor

Hi @roberto-nascimento ,
We will take a close look and get back ASAP

@kirrg001
Copy link
Contributor

kirrg001 commented Sep 6, 2024

We have successfully released 3.18.0.

Could you please test the new version and let us know if the problem is resolved?
Thank you so much!

@kirrg001 kirrg001 closed this as completed Sep 6, 2024
@roberto-nascimento
Copy link
Author

Hello, thanks, we will deploy our app here to check right now.

@roberto-nascimento
Copy link
Author

Done, no debug logs, thanks guys , you were awesome!!

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

No branches or pull requests

4 participants