-
Notifications
You must be signed in to change notification settings - Fork 1k
Create sync resource with some attributes that resolve asynchronously #3460
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
legendecas
merged 98 commits into
open-telemetry:main
from
samimusallam:feat/sync-resource-detectors
Feb 13, 2023
Merged
Changes from 5 commits
Commits
Show all changes
98 commits
Select commit
Hold shift + click to select a range
9615a79
feat(sync-resource-detectors): initial
samimusallam f0c6044
feat(sync-resource-detectors): initial
samimusallam a2f77f6
Merge branch 'main' of https://github.com/samimusallam/opentelemetry-…
samimusallam 6b80ab0
feat(sync-resource-detectors): updated CHANGELOG.md
samimusallam 40957fb
feat(sync-resource-detectors): fixed lint issues
samimusallam 7f63622
Merge branch 'main' into feat/sync-resource-detectors
samimusallam c360f8b
Merge branch 'main' into feat/sync-resource-detectors
samimusallam 60f763d
feat(sync-resource-detectors): fixed failing tests
samimusallam 8279b7c
Merge branch 'main' into feat/sync-resource-detectors
samimusallam e42a64e
Merge branch 'main' into feat/sync-resource-detectors
samimusallam 2776fe3
Merge branch 'main' into feat/sync-resource-detectors
samimusallam bc926fa
Merge branch 'main' into feat/sync-resource-detectors
samimusallam 876a978
Update packages/sdk-metrics/src/export/PeriodicExportingMetricReader.ts
samimusallam e27b6b8
feat(sync-resource-detectors): _asyncAttributesPromise merged .catch …
samimusallam 11e4955
Merge branch 'main' into feat/sync-resource-detectors
samimusallam ab9e481
feat(sync-resource-detectors): fixed tests
samimusallam 6c29f97
feat(sync-resource-detectors): using isPromiseLike
samimusallam bb89113
feat(sync-resource-detectors): documented waitForAsyncAttributes retu…
samimusallam cc16c50
feat(sync-resource-detectors): updated asyncAttributesPromise nullish…
samimusallam 0ad492a
feat(sync-resource-detectors): using globalErrorHandler instead of diag
samimusallam 5dc4d31
feat(sync-resource-detectors): removed code duplication for detect-re…
samimusallam 3ab49fb
feat(sync-resource-detectors): fixed test
samimusallam 721bf45
feat(sync-resource-detectors): updated README.md to use sync start()
samimusallam 508739f
feat(sync-resource-detectors): updated test with a promise that resol…
samimusallam 7d14a7d
feat(sync-resource-detectors): removed unnecessary attributes getter
samimusallam 952cbf4
Merge branch 'main' into feat/sync-resource-detectors
samimusallam da7adc9
feat(sync-resource-detectors): small refactor
samimusallam 16d223a
feat(sync-resource-detectors): removed internalConfig
samimusallam 881645e
feat(sync-resource-detectors): updated merge() to check if promise ha…
samimusallam 6ec14cb
Merge branch 'main' into feat/sync-resource-detectors
samimusallam 692ef0e
feat(sync-resource-detectors): added more tests for merge()
samimusallam 61964a5
feat(sync-resource-detectors): fixed merge() where attribute overridi…
samimusallam c56bff4
feat(sync-resource-detectors): updated upgrade guidelines
samimusallam 67e8756
Merge branch 'main' into feat/sync-resource-detectors
samimusallam 04c6b2f
feat(sync-resource-detectors): fixed lint
samimusallam 86de5b4
Merge branch 'main' into feat/sync-resource-detectors
samimusallam 5baca81
feat(sync-resource-detectors): removed unnecessary await
samimusallam 270d67e
feat(sync-resource-detectors): updated upgrade guidelines
samimusallam 0d5b588
feat(sync-resource-detectors): updated outdated test
samimusallam 551ed5d
feat(sync-resource-detectors): use globalErrorHandler in BatchSpanPro…
samimusallam c635de1
feat(sync-resource-detectors): remove unused code
samimusallam 94bfcea
feat(sync-resource-detectors): resolve _flushOneBatch() if it fails b…
samimusallam e719e90
feat(sync-resource-detectors): reduced timeout to avoid test delays f…
samimusallam c0758b3
feat(sync-resource-detectors): removed redundant call to waitForAsync…
samimusallam 8d82355
Merge branch 'main' into feat/sync-resource-detectors
samimusallam 19817f0
feat(sync-resource-detectors): await unresolved resources in forceFlu…
samimusallam 1af7935
feat(sync-resource-detectors): fixed test that should log detected re…
samimusallam 76ce6f5
feat(sync-resource-detectors): fixed envDetector test
samimusallam cc24162
feat(sync-resource-detectors): fixed envDetector test
samimusallam 754810d
feat(sync-resource-detectors): fixed test
samimusallam 321f295
Update Resource's asyncAttributesHaveResolved description
samimusallam 1c48e83
feat(sync-resource-detectors): using diag.error instead of debug
samimusallam 85d8dbd
feat(sync-resource-detectors): removed asyncAttributesHaveResolved() …
samimusallam 97eb9fe
Merge branch 'main' into feat/sync-resource-detectors
samimusallam 8121a4d
feat(sync-resource-detectors): removed irrelevant call to shutdown()
samimusallam 9e85a43
Update packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProc…
samimusallam 05a83df
feat(sync-resource-detectors): updated SimpleSpanProcessor.ts
samimusallam ad81025
feat(sync-resource-detectors): removed redundant call
samimusallam ce2e87c
feat(sync-resource-detectors): updated test name
samimusallam 8d9c4a7
Merge branch 'main' into feat/sync-resource-detectors
samimusallam e1a3795
feat(sync-resource-detectors): Added DetectorSync interface
samimusallam 62546b0
feat(sync-resource-detectors): revert change
samimusallam 70f47a3
feat(sync-resource-detectors): Added new interface for sync detector …
samimusallam 9e87de6
Merge branch 'main' into feat/sync-resource-detectors
samimusallam 588d93c
feat(sync-resource-detectors): Fixed issues with Detector/DetectorSync
samimusallam 4414ba5
feat(sync-resource-detectors): removed unnecessary comments
samimusallam b110dca
feat(sync-resource-detectors): added test for pending resource in Bat…
samimusallam 2365748
Merge branch 'main' into feat/sync-resource-detectors
samimusallam 79a8321
Update packages/opentelemetry-resources/src/types.ts
samimusallam 1800c53
Update packages/opentelemetry-resources/src/Resource.ts
samimusallam c92412f
feat(sync-resource-detectors): fixed failing tests
samimusallam 11848b3
Merge branch 'main' into feat/sync-resource-detectors
samimusallam 680f955
feat(sync-resource-detectors): deprecated Detector interface
samimusallam b49a1d8
feat(sync-resource-detectors): added compatibility tests and renamed …
samimusallam 1117c1e
Merge branch 'main' into feat/sync-resource-detectors
samimusallam a9e6614
feat(sync-resource-detectors): using JSON.stringify instead of utils.…
samimusallam 0eefbdf
feat(sync-resource-detectors): added logging test
samimusallam d070c0c
feat(sync-resource-detectors): updated "Upgrade guidelines"
samimusallam 79496cd
Merge branch 'main' into feat/sync-resource-detectors
samimusallam fd850e2
feat(sync-resource-detectors): fixed regex in test
samimusallam 964a20b
Merge branch 'main' into feat/sync-resource-detectors
samimusallam f66ebad
Merge branch 'main' into feat/sync-resource-detectors
samimusallam 0c20294
Merge branch 'main' into feat/sync-resource-detectors
samimusallam 96230d6
feat(sync-resource-detectors): removed typo
samimusallam bc8f2ba
Merge branch 'main' into feat/sync-resource-detectors
samimusallam 7611fa8
feat(sync-resource-detectors): created IResource interface
samimusallam 5271cb2
Merge branch 'main' into feat/sync-resource-detectors
samimusallam 0ff2427
feat(sync-resource-detectors): reverted detectors to the old detector…
samimusallam 031461e
feat(sync-resource-detectors): fixed codecov issues
samimusallam c2d6760
feat(sync-resource-detectors): fix typo
samimusallam 0f1dff0
feat(sync-resource-detectors): using optional chaining
samimusallam f14271f
feat(sync-resource-detectors): updated README.md
samimusallam 000adf9
Merge branch 'main' into feat/sync-resource-detectors
samimusallam 33eee0b
Merge branch 'main' into feat/sync-resource-detectors
samimusallam 7334f64
Merge branch 'main' into feat/sync-resource-detectors
dyladan 1149d96
Merge branch 'main' into feat/sync-resource-detectors
samimusallam e46852a
Merge branch 'main' into feat/sync-resource-detectors
samimusallam 60a161a
Merge branch 'main' into feat/sync-resource-detectors
legendecas 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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.