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

fix: reduced log flooding when collector is not rdy #850

Merged
merged 5 commits into from
Aug 24, 2023
Merged

Conversation

kirrg001
Copy link
Contributor

@kirrg001 kirrg001 commented Aug 23, 2023

refs #849

IMO the underlying problem of #849 is that the collector cannot connect to the Agent but the process already receives traffic. And then we would flood the log file with the warning.

@kirrg001
Copy link
Contributor Author

Discussed: We want to use isActive attribute of the instrumentations.

@kirrg001
Copy link
Contributor Author

TBD: https://www.ibm.com/docs/en/instana-observability/current?topic=nodejs-collector-configuration#disabling-individual-tracers

Why is AWS not listed for disabling individual instrumentations?

@kirrg001 kirrg001 marked this pull request as ready for review August 24, 2023 09:16
@kirrg001 kirrg001 requested a review from a team as a code owner August 24, 2023 09:16
@basti1302
Copy link
Contributor

basti1302 commented Aug 24, 2023

https://www.ibm.com/docs/en/instana-observability/current?topic=nodejs-collector-configuration#disabling-individual-tracers

For the record, we discussed this offline. We can only disable all of the AWS v3 instrumentations at once currently, more or less. The available strings for disabling would be:

  • aws-sdk/v2/index,
  • aws-sdk/v3/index,
  • aws-sdk/v2/sdk,
  • aws-sdk/v2/sqs,
  • gcp/pubsub, and
  • gcp/storage

We agreed to not change this in the scope of this PR. We will consider refactoring the mechanism for disabling individual instrumentation plug-ins with the next major update (3.0.0).

Copy link
Contributor

@basti1302 basti1302 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@kirrg001 kirrg001 merged commit c80eca6 into main Aug 24, 2023
@kirrg001 kirrg001 deleted the fix/kafkaissue branch August 24, 2023 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants