-
Notifications
You must be signed in to change notification settings - Fork 534
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: remove unuseful patch message from instrumentations #2161
Merged
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
8a85f1c
chore(mongoose): remove diag prints in patch
blumamir 5351954
chore(tedious): remove diag prints in patch
blumamir eba86f2
chore(dns): remove diag prints in patch
blumamir ab58270
chore(fastify): remove diag prints in patch
blumamir 9811baa
chore(hapi): remove diag prints in patch
blumamir 53a4811
chore(knex): remove diag prints in patch
blumamir 203f82d
chore(mysql): remove diag prints in patch
blumamir 2b105cc
chore(pg): remove diag prints in patch
blumamir d3e00f2
chore(redis): remove diag prints in patch
blumamir 182405f
docs: document when to use diag for patch
blumamir e602c3b
chore: lint markdown
blumamir 5cf1a43
fix: unused import
blumamir c547835
chore: remove unused import
blumamir b3cf029
Merge branch 'main' into no-patch-diag
blumamir 7a7f69f
Merge branch 'main' into no-patch-diag
blumamir 628471d
Merge branch 'main' into no-patch-diag
blumamir 3c5ca76
Merge branch 'main' into no-patch-diag
blumamir 124d1aa
Update GUIDELINES.md
blumamir 00e3416
Update GUIDELINES.md
blumamir ee1e0fa
Update GUIDELINES.md
blumamir 4d5050c
Update GUIDELINES.md
blumamir 855d264
Update GUIDELINES.md
blumamir f84890d
Merge branch 'main' into no-patch-diag
blumamir 5b22de0
Merge branch 'main' into no-patch-diag
blumamir 0aa2cfe
Merge branch 'main' into no-patch-diag
blumamir cccc9ba
Merge branch 'main' into no-patch-diag
blumamir 4bb5e16
Update GUIDELINES.md
blumamir 928fe6a
Merge remote-tracking branch 'upstream/main' into no-patch-diag
blumamir 0ade21f
fix: name of diag in CHANGELOG
blumamir 8185fbd
Merge branch 'main' into no-patch-diag
blumamir File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, another thought I had that I think will probably be updated in the follow-up PR that replaces inconsistent usages of
api.diag.debug
and similar that aren't using the instrumentationthis
to allow forthis._diag.debug
. When we make that change we should update guidelines for that as well, though it will already be easier to follow suit once these are all more consistent 😄There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
certainly, I aim to first remove or hoist unneeded diag messages, and then will transform all remaining diag message to use
this._diag
and update the GUIDELINES.md 👍open-telemetry/opentelemetry-js#4663 will also help in hosting many diag prints and remove the repeated code from dozens of places in contrib.