-
Notifications
You must be signed in to change notification settings - Fork 2.7k
[chore][connector/datadogconnector] Fix connector traceToMetrics lifecycle #31811
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
Merged
mx-psi
merged 7 commits into
open-telemetry:main
from
mackjmr:fix-datadogconnector-lifecycle
Mar 19, 2024
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
1760a6c
[chore][connector/datadogconnector] Fix connector traceToMetrics life…
mackjmr 25a2972
run make gotidy
mackjmr 77abc41
Update connector/datadogconnector/metadata.yaml
mackjmr 23f34cf
Merge branch 'main' of github.com:open-telemetry/opentelemetry-collec…
mackjmr f053740
Merge branch 'main' into fix-datadogconnector-lifecycle
mackjmr 8e3f9a4
Merge branch 'fix-datadogconnector-lifecycle' of github.com:mackjmr/o…
mackjmr cf7ba4e
remove config
mackjmr 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 hidden or 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,5 +11,3 @@ status: | |
emeritus: [gbbr] | ||
|
||
tests: | ||
skip_lifecycle: true | ||
skip_shutdown: true |
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.
Should this be an atomic? I am not sure what are the expectations regarding thread safety 🤔
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.
This gets written to in
Start
and Read inShutdown
, so I guess the question is whether these two functions can be called concurrently or if Start can get called concurrently.The docs for Shutdown mention:
It doesn't mention that
Shutdown
should be safe to call concurrently withStart
.For
Start
, the documentation doesn't mention anything about concurrency either.So I think this should be fine ? It may be good to get this clarified in the Component docs.
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.
Agreed, we can handle that separately. Merging...