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

Release 2.12.0 #1871

Merged
merged 214 commits into from
May 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
214 commits
Select commit Hold shift + click to select a range
4bfbd03
RUM-1836 feat(otel-tracer): take dependency on opentelemetry-swift
ganeshnj Jan 2, 2024
c487468
Merge pull request #1610 from DataDog/ganeshnj/feat/otel-tracer-spm-dep
ganeshnj Jan 2, 2024
05272ec
RUM-1836 feat(otel-tracer): update project with opentelemetry-swift d…
ganeshnj Jan 3, 2024
6fb113a
Merge pull request #1612 from DataDog/ganeshnj/feat/otel-tracer-proje…
ganeshnj Jan 3, 2024
4b61a0a
RUM-1836 feat(otel-tracer): scaffold conformance to otel Tracer, Span…
ganeshnj Jan 2, 2024
27ecb2a
RUM-1836 feat(otel-tracer): implement core functionality of the otel …
ganeshnj Jan 3, 2024
c9143b0
RUM-1836 feat(otel-tracer): add test cases
ganeshnj Jan 3, 2024
bf55a6c
RUM-1836 feat(otel-tracer): fix linter
ganeshnj Jan 3, 2024
156454d
RUM-1836 feat(otel-tracer): add tests
ganeshnj Jan 3, 2024
3a8b2ca
RUM-1836 feat(otel-tracer): add source files to project
ganeshnj Jan 3, 2024
84a7f78
RUM-1836 feat(otel-tracer): casing - now all OTel
ganeshnj Jan 3, 2024
f03cd63
RUM-1836 feat(otel-tracer): remove status API for now, will add later
ganeshnj Jan 4, 2024
dec5b26
RUM-1836 feat(otel-tracer): handle attribute cases one by one
ganeshnj Jan 4, 2024
c045052
RUM-1836 feat(otel-tracer): remove unused variables
ganeshnj Jan 4, 2024
a53814e
RUM-1836 feat(otel-tracer): PR feedback
ganeshnj Jan 5, 2024
140c95b
RUM-1836 feat(otel-tracer): corresponding reference change of rename
ganeshnj Jan 5, 2024
2eab9ac
RUM-1836 feat(otel-tracer): remove semaphore usage
ganeshnj Jan 5, 2024
43ac91a
Merge pull request #1611 from DataDog/ganeshnj/feat/otel-tracer-conform
ganeshnj Jan 5, 2024
5996b42
RUM-1836 feat(otel-tracer): add support for event APIs
ganeshnj Jan 5, 2024
2b20116
RUM-1836 feat(otel-tracer): test only leaf nodes
ganeshnj Jan 5, 2024
053a7e5
RUM-1836 feat(otel-tracer): remove semaphore usage
ganeshnj Jan 5, 2024
b69b664
RUM-1836 feat(otel-tracer): add support for status API
ganeshnj Jan 10, 2024
b6eccac
RUM-1836 feat(otel-tracer): fix linter
ganeshnj Jan 10, 2024
ad114f4
RUM-1836 feat(otel-tracer): support multi level tags using key flatte…
ganeshnj Jan 10, 2024
a72fa92
RUM-1836 feat(otel-tracer): remove not required import
ganeshnj Jan 10, 2024
e78b9c3
RUM-1836 feat(otel-tracer): improve test case with extra cases
ganeshnj Jan 10, 2024
2ec3130
Update DatadogTrace/Sources/OpenTelemetry/OTelSpan.swift
ganeshnj Jan 11, 2024
c940b3f
RUM-1836 feat(otel-tracer): fix indent
ganeshnj Jan 11, 2024
63400ec
RUM-1836 feat(otel-tracer): fix test name
ganeshnj Jan 11, 2024
c3cdd5b
Merge pull request #1614 from DataDog/ganeshnj/feat/otel-tracer-event…
ganeshnj Jan 11, 2024
995818d
Merge pull request #1626 from DataDog/ganeshnj/feat/otel-tracer-compl…
ganeshnj Jan 11, 2024
3431c6a
Merge pull request #1625 from DataDog/ganeshnj/feat/otel-tracer-status
ganeshnj Jan 11, 2024
cca9f3a
RUM-1836 feat(otel-tracer): add support for span links
ganeshnj Jan 15, 2024
0f6fc28
RUM-1836 feat(otel-tracer): remove JSON encoder configuration
ganeshnj Jan 15, 2024
8ce2edf
RUM-1836 feat(otel-tracer): include span links key if non-empty
ganeshnj Jan 15, 2024
6fd9e73
Merge pull request #1630 from DataDog/ganeshnj/feat/otel-tracer-span-…
ganeshnj Jan 17, 2024
2002374
Merge branch 'develop' into ganeshnj/feat/otel-tracer
ganeshnj Feb 6, 2024
9c546bd
fix: handle escaped JSON string in asserts
ganeshnj Feb 7, 2024
5b8d7da
fix: use mutate pattern for computed properties
ganeshnj Feb 7, 2024
f8efb4b
Merge pull request #1658 from DataDog/ganeshnj/chore/merge-develop
ganeshnj Feb 8, 2024
1a82df3
RUM-1836 feat(otel-tracer) integrate OpenTelemetrySwiftApi in package…
ganeshnj Feb 9, 2024
f605c7c
Merge pull request #1668 from DataDog/ganeshnj/otel-tracer-deps
ganeshnj Feb 15, 2024
c7629d1
RUM-1836 feat(otel-tracer): refactor "how to get otel tracer"
ganeshnj Jan 15, 2024
6af9ea0
Update DatadogTrace/Sources/OpenTelemetry/OTelTracerProvider.swift
ganeshnj Feb 15, 2024
100d22b
Merge pull request #1632 from DataDog/ganeshnj/feat/otel-tracer-get-t…
ganeshnj Feb 15, 2024
d13a6de
RUM-1836 feat(otel-tracer): update Example app with Otel tracer use c…
ganeshnj Feb 16, 2024
7d39ed2
RUM-1836 feat(otel-tracer): fix test case
ganeshnj Feb 19, 2024
6100722
Merge pull request #1684 from DataDog/otel-tracer-example-app
ganeshnj Feb 20, 2024
b0ae691
RUM-1836 feat(otel-tracer): test case to translate resource.name attr…
ganeshnj Mar 6, 2024
51402e7
RUM-1836 feat(otel-tracer): support operation.name & service.name tags
ganeshnj Mar 6, 2024
e5b0638
RUM-1836 feat(otel-tracer): SpanEventBuilder tests
ganeshnj Mar 6, 2024
dd97bed
Merge pull request #1708 from DataDog/ganeshnj/test/resource-name
ganeshnj Mar 6, 2024
0bc961d
RUM-1836 feat(otel-tracer): change default span kind to internal
ganeshnj Mar 6, 2024
2617220
RUM-1836 feat(otel-tracer): fix test case
ganeshnj Mar 7, 2024
a451d89
Merge pull request #1710 from DataDog/ganeshnj/fix/span-kind
ganeshnj Mar 7, 2024
8371f8e
Merge branch 'develop' into ganeshnj/feat/otel-tracer
ganeshnj Mar 12, 2024
ec37f70
RUM-1836 feat(otel-tracer): send telemetry for Tracer API usage
ganeshnj Mar 11, 2024
4ea1bb6
fix generated code default values
ganeshnj Mar 12, 2024
2bdd636
build using default branch
ganeshnj Mar 12, 2024
b7cfa4f
Merge pull request #1704 from DataDog/ganeshnj/chore/telemetry-trace-api
ganeshnj Mar 13, 2024
564e6fb
RUM-3853 feat(otel-tracer): make DDSpan active when OtelSpanBuilder s…
ganeshnj Apr 4, 2024
5c46690
merge conflict change
ganeshnj Apr 4, 2024
c8daee0
Merge pull request #1762 from DataDog/ganeshnj/feat/otel-tracer-activ…
ganeshnj Apr 5, 2024
a54ccfc
RUM-3853 feat(otel-tracer): add test cases for setting active span
ganeshnj Apr 5, 2024
44b3fdc
RUM-3853 feat(otel-tracer): simplify asserts
ganeshnj Apr 5, 2024
2b06c3b
RUM-3853 feat(otel-tracer): add more interesting use case in example app
ganeshnj Apr 5, 2024
2de48d8
remove from context when ending the span
ganeshnj Apr 5, 2024
ec4b42c
feat(otel-tracer): enable testing SDK
ganeshnj Apr 5, 2024
eb673a5
disable test that cause symbol conflict
ganeshnj Apr 5, 2024
a19e7ed
Merge pull request #1765 from DataDog/ganeshnj/feat/otel-tracer-enabl…
ganeshnj Apr 8, 2024
35ca3bd
Merge pull request #1764 from DataDog/ganeshnj/feat/otel-tracer-activ…
ganeshnj Apr 8, 2024
8af7a8d
RUM-3853 feat(otel-tracer): remove support for event API
ganeshnj Apr 11, 2024
6490500
log warning
ganeshnj Apr 16, 2024
658be88
Merge pull request #1773 from DataDog/ganeshnj/fix/event-api
ganeshnj Apr 16, 2024
703bdef
feat(otel-tracer): add send span links in example app
ganeshnj Apr 16, 2024
31fdeb5
RUM-3185 feat(otel-tracer): use DatadogSDKTesting as SPM dependency
ganeshnj Apr 15, 2024
2de2e3d
Merge pull request #1781 from DataDog/ganeshnj/feat/span-link-example
ganeshnj Apr 18, 2024
7085ec1
Merge pull request #1777 from DataDog/ganeshnj/chore/fix-testing-lib
ganeshnj Apr 18, 2024
442cf43
Merge remote-tracking branch 'origin/develop' into ganeshnj/feat/otel…
ganeshnj Apr 22, 2024
aa91513
feat(otel-tracer): adapt otel implementation with develop branch
ganeshnj Apr 22, 2024
57d2c5d
Merge pull request #1786 from DataDog/ganeshnj/chore/adapt-to-develop
ganeshnj Apr 22, 2024
218e29b
feat(otel-tracer): use 1.6.0 version of otel library
ganeshnj Apr 22, 2024
b17e686
pin to specific version
ganeshnj Apr 22, 2024
39f2103
merge leftover
ganeshnj Apr 22, 2024
382bb8a
update package managers test with start and finish spans
ganeshnj Apr 23, 2024
54edd5a
Merge pull request #1788 from DataDog/ganeshnj/fix/update-otel-swift-…
ganeshnj Apr 24, 2024
b5726fa
Merge branch 'develop' into ganeshnj/feat/otel-tracer
ganeshnj Apr 24, 2024
5e71a57
feat: Support adding binary images to non-crashes
fuzzybinary Apr 9, 2024
00fd8f7
Add test and fix issues in log binary image attachement
fuzzybinary Apr 12, 2024
40f41b0
Refactor binary images for non-crashes
fuzzybinary May 1, 2024
2e74021
Merge pull request #1809 from DataDog/release/2.11.0
maciejburda May 9, 2024
d82b0c4
Refactor: replace RUM monitor `queue` with `@ReadWriteLock`
ncreated May 9, 2024
6010ffc
Merge branch 'develop' into ganeshnj/feat/otel-tracer
ganeshnj May 10, 2024
10c975c
Update changelog
ganeshnj May 10, 2024
27ebec3
CR feedback - weakify `self` in Monitor closures
ncreated May 10, 2024
d912e4c
fix merge issues
ganeshnj May 10, 2024
eebf347
Fix RUMContextMocks.swift reference
ganeshnj May 10, 2024
63539d8
remove unused import
ganeshnj May 10, 2024
158d933
another merge conflict
ganeshnj May 10, 2024
9436656
RUM-3588 Add unit tests for existing global RUM attributes behavious
ncreated May 10, 2024
caa508b
Merge pull request #1826 from DataDog/ncreated/chore/remove-queue-in-…
ncreated May 14, 2024
8be65dc
Merge pull request #1828 from DataDog/ganeshnj/feat/otel-tracer
ganeshnj May 15, 2024
6ccf29a
Remove WKWebView instance in tests
maxep May 15, 2024
3014ba8
Merge pull request #1838 from DataDog/maxep/fix-flakiness
maxep May 15, 2024
95cdd81
RUM-3535 feat: add support for trace context injection configuration …
ganeshnj May 13, 2024
fc186c8
RUM-3535 update changelog
ganeshnj May 14, 2024
4e2e907
RUM-3535 fix linter
ganeshnj May 15, 2024
c158008
Remove flaky assertion due to upload at init
maxep May 15, 2024
3603a61
Merge pull request #1840 from DataDog/maxep/fix-flakiness
maxep May 16, 2024
935314e
RUM-2814 Add E2E test project
maxep Apr 26, 2024
4795478
Add run_e2e_s8s_upload bitrise step
maxep Apr 26, 2024
68998d1
Add make e2e-upload
maxep Apr 30, 2024
1eb1f5a
Add scenario skeleton
maxep Apr 30, 2024
3d57b77
Add session replay webview scenario
maxep Apr 30, 2024
8818b9e
Add README
maxep May 6, 2024
628d0fe
Apply suggestions from code review
maxep May 7, 2024
63399ed
Update Scenario.swift
maxep May 7, 2024
2b7efd6
Remove assets
maxep May 7, 2024
02aa88c
Update E2ETests/README.md
maxep May 13, 2024
71e6383
Revert "Update E2ETests/README.md"
maxep May 13, 2024
a729c60
Update E2ETests/Runner/Scenarios/Scenario.swift
maxep May 13, 2024
0da8f2c
Apply CR suggestions
maxep May 15, 2024
f1eef07
Prevent webview leak in tests
maxep May 16, 2024
d99811c
Merge pull request #1841 from DataDog/maxep/fix-flakiness
maxep May 16, 2024
7d69e12
RUM-3588 CR feedback - add tests for updating attributes
ncreated May 16, 2024
441f180
Merge pull request #1768 from DataDog/jward/on-demand-binary-images
fuzzybinary May 16, 2024
c044ef9
Merge pull request #1830 from DataDog/ncreated/RUM-3588/send-view-upd…
ncreated May 16, 2024
205b9a0
Update bitrise.yml
maxep May 17, 2024
c416abf
[RUM-2911] Update RUM model
plousada May 8, 2024
15c1f95
[RUM-2911] Fix precision loss in app start timing
plousada May 9, 2024
ff3a7ce
[RUM-2911] Add time since app start to RUM errors
plousada May 9, 2024
bc3610a
RUM-2911 CR feedback - test `CrashContext` coding against the actual …
ncreated May 10, 2024
306ae69
RUM-2911 Address PR feedback
plousada May 10, 2024
33fc0fe
RUM-2911 Improve FatalErrorBuilder time calculation's readability
plousada May 15, 2024
47f079d
RUM-2911 Use correct startTime for fatal App Hangs
plousada May 15, 2024
c229bf7
RUM-2911 Fix unit conversion and add test for Fatal App Hang's `timeS…
ncreated May 16, 2024
1c252a0
RUM-3183 Remove usage of unsafe `request.allHTTPHeaderFields`
ncreated May 17, 2024
b3440bc
RUM-4440 Upgrade PLCR to 1.11.2
ncreated May 17, 2024
cd7248e
RUM-789 Fix `batch_size` reported in configuration telemetry
ncreated May 17, 2024
7733525
Merge pull request #1801 from DataDog/maxep/RUM-2814/webview-replay-e2e
maxep May 17, 2024
7bf12f6
RUM-3535 export DatadogInternal.TraceContextInjection
ganeshnj May 17, 2024
a4c8f01
RUM-3535 fix test names
ganeshnj May 17, 2024
6e9c8f0
RUM-2911 Fix warning in RUMViewScopeTests.swift
plousada May 17, 2024
3eda707
RUM-3535 add test cases for readers
ganeshnj May 17, 2024
dd422b5
chore: add support for Package.resolved V3
ganeshnj May 17, 2024
44cc1e3
fix exception
ganeshnj May 17, 2024
fa2c237
cleanup
ganeshnj May 17, 2024
46a36d9
Merge pull request #1825 from DataDog/plousada/RUM-2911/attach_start_…
plousada May 17, 2024
494a0b5
chore: fix Swift 5.7 issue with scoping
ganeshnj May 17, 2024
edcc772
Merge pull request #1847 from DataDog/ganeshnj/chore/swift-5-7-issue
ganeshnj May 17, 2024
a8a357b
fix: s8s context
maxep May 17, 2024
d6f89af
Merge pull request #1846 from DataDog/ganeshnj/chore/dogfood-package-v3
ganeshnj May 17, 2024
61ec70f
Merge pull request #1848 from DataDog/maxep/fix-s8s-context
maxep May 17, 2024
e3a6782
Fixes for Swiftlint 0.55.1
ncreated May 20, 2024
974a75c
RUM-347 Fix `batch_duration` in "Batch Closed" metrics
ncreated May 20, 2024
f25b032
Merge pull request #1844 from DataDog/ncreated/RUM-4440/upgrade-plcr-…
ncreated May 20, 2024
ac61a06
Merge pull request #1850 from DataDog/ncreated/chore/update-for-swift…
ncreated May 20, 2024
bb4b652
RUM-347 Update file orchestrator test to not depend on relative time …
ncreated May 20, 2024
137c015
[CIVIS-9813] fix for test sdk integration
ncreated May 20, 2024
d415f4c
Merge pull request #1849 from DataDog/ncreated/RUM-789/fix-batch-size…
ncreated May 20, 2024
9cb2383
RUM-3183 CR feedback - be explicit in reading request headers
ncreated May 20, 2024
add8e6d
RUM-4315 Add missing RUM APIs for objective-C
ncreated May 20, 2024
ed9ab00
RUM-4315 Update CHANGELOG.md
ncreated May 20, 2024
be82043
RUM-4313 Add WebViewTracking for Obj-c
ncreated May 20, 2024
53536d5
RUM-4313 Update CHANGELOG.md
ncreated May 20, 2024
1f8fc89
RUM-4313 Help compiler infering return value
ncreated May 20, 2024
8913560
RUM-3588 Abstract `FatalErrorContextNotifier` and add tests
ncreated May 14, 2024
b076842
RUM-3588 Update RUM view in CrashContext after attributes change
ncreated May 14, 2024
3de34ee
RUM-3588 Fix linter
ncreated May 14, 2024
dbade4a
RUM-3588 Send global RUM attributes direclty to CrashContext
ncreated May 16, 2024
7b55807
RUM-3588 Write RUM attributes to RUM view and error created for crash…
ncreated May 16, 2024
3fae9b8
RUM-3588 Cleanup
ncreated May 16, 2024
6ef10e9
RUM-3588 Add integration test for adding global RUM attributes to cra…
ncreated May 16, 2024
eb610b9
RUM-3588 Update CHANGELOG.md
ncreated May 16, 2024
99b72b8
RUM-3588 CR feedback + rebase
ncreated May 21, 2024
43e8d44
Explicitly ignore `telemetry/usage-schema.json` to unblock generatin …
ncreated May 21, 2024
5bfb43a
Merge pull request #1851 from DataDog/ncreated/RUM-347/fix-batch-dura…
ncreated May 21, 2024
421f9b9
Fix shared type ambiguity for `telemetry.device` and `telemetry.os` m…
ncreated May 21, 2024
f08878b
Merge pull request #1853 from DataDog/ncreated/RUM-4315/add-missing-o…
ncreated May 21, 2024
a02c34d
RUM-4313 CR feedback - apply common convention for Objc interface
ncreated May 21, 2024
29af80b
RUM-4313 CR feedback - move WVT+objc to `ObjC` folder to conform with…
ncreated May 21, 2024
79e67e8
refacto external links
MaelNamNam May 17, 2024
df5873d
remove in-repo docs about webview and reference official docs in readme
MaelNamNam May 17, 2024
44fc881
remove in-repo docs about supported versions and reference official d…
MaelNamNam May 17, 2024
1fd77f8
Merge pull request #1842 from DataDog/maelnamnam/docs-7809/remove-doc…
MaelNamNam May 21, 2024
bf86391
Merge branch 'develop' into ncreated/RUM-4313/add-webview-tracking-fo…
ncreated May 21, 2024
2da8501
---
dependabot[bot] May 21, 2024
15ae254
Merge pull request #1856 from DataDog/dependabot/bundler/rexml-3.2.8
ncreated May 21, 2024
9246b61
Merge pull request #1854 from DataDog/ncreated/RUM-4313/add-webview-t…
ncreated May 21, 2024
6a83417
Merge pull request #1855 from DataDog/ncreated/chore/fix-generating-r…
ncreated May 21, 2024
b7552c0
Merge pull request #1834 from DataDog/ncreated/RUM-3588/update-crash-…
ncreated May 21, 2024
cf4ddc5
Merge pull request #1852 from DataDog/ncreated/chore/fix-integration-…
ncreated May 22, 2024
961cda0
Introduce `SDKMetrics` (folder) convention
ncreated May 22, 2024
c26e62b
Merge branch 'develop' into ganeshnj/feat/RUM-3535-trace-context-control
ganeshnj May 22, 2024
8fe0422
Merge branch 'develop' into ncreated/RUM-3183/fix-crash-on-accessing-…
ncreated May 22, 2024
ab338ea
Merge pull request #1835 from DataDog/ganeshnj/feat/RUM-3535-trace-co…
ganeshnj May 22, 2024
fa145d1
Merge branch 'develop' into ncreated/RUM-3183/fix-crash-on-accessing-…
ncreated May 22, 2024
40ce508
Merge pull request #1843 from DataDog/ncreated/RUM-3183/fix-crash-on-…
ncreated May 22, 2024
3145106
fix: set traceContextInjection param for E2E test case
ganeshnj May 22, 2024
876787a
Merge pull request #1858 from DataDog/ganeshnj/fix/trace-context-inje…
ganeshnj May 22, 2024
248b361
refactor: Make `error.kind` and `error.stack` non-optional in SDK err…
ncreated May 24, 2024
4409d80
RUM-3464 feat(oom): simulate OOM crash in Example app
ganeshnj May 24, 2024
0da019f
Update `testWhenSourceIsInvalid_itSendsErrorTelemetry()` after `error…
ncreated May 24, 2024
47e15c0
Merge pull request #1861 from DataDog/ganeshnj/feat/RUM-3464-simulate…
ganeshnj May 24, 2024
900dec7
Merge pull request #1857 from DataDog/ncreated/chore/standardize-sdk-…
ncreated May 27, 2024
84f83ef
CR feedback - simplify `error.kind` format
ncreated May 29, 2024
00f9a24
Merge pull request #1860 from DataDog/ncreated/chore/nonoptional-erro…
ncreated May 29, 2024
386f0e8
Reduce telemetry sampling for method called
maciejburda May 29, 2024
01f9a2e
Merge pull request #1867 from DataDog/maciey/method-called-sampling-rate
maciejburda May 29, 2024
873ba7a
Fix accessing repository URL in `Package.resolved` (version 2 and 3)
ncreated May 29, 2024
bf157a1
Add smoke test for dogfooding automation
ncreated May 29, 2024
2448074
Merge pull request #1869 from DataDog/ncreated/chore/fix-dogfooding-s…
ncreated May 29, 2024
f2e92ac
Mark 2.12.0 in CHANGELOG
ncreated May 31, 2024
bb051bc
Bumped version to 2.12.0
ncreated May 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Unreleased

# 2.12.0 / 03-06-2024

- [IMPROVEMENT] Crash errors now include up-to-date global RUM attributes. See [#1834][]
- [FEATURE] `DatadogTrace` now supports OpenTelemetry. See [#1828][]
- [FIX] Fix crash on accessing request.allHTTPHeaderFields. See [#1843][]
- [FEATURE] Support for trace context injection configuration to allow selective injection. See [#1835][]
- [FEATURE] `DatadogWebViewTracking` is now available for Obj-C. See [#1854][]
- [FEATURE] RUM "stop session", "get session ID" and "evaluate feature flag" APIs are now available for Obj-C. See [#1853][]

# 2.11.0 / 08-05-2024

- [FEATURE] `DatadogTrace` now supports head-based sampling. See [#1794][]
Expand Down Expand Up @@ -655,11 +664,17 @@ Release `2.0` introduces breaking changes. Follow the [Migration Guide](MIGRATIO
[#1774]: https://github.com/DataDog/dd-sdk-ios/pull/1774
[#1763]: https://github.com/DataDog/dd-sdk-ios/pull/1763
[#1767]: https://github.com/DataDog/dd-sdk-ios/pull/1767
[#1843]: https://github.com/DataDog/dd-sdk-ios/pull/1843
[#1798]: https://github.com/DataDog/dd-sdk-ios/pull/1798
[#1776]: https://github.com/DataDog/dd-sdk-ios/pull/1776
[#1834]: https://github.com/DataDog/dd-sdk-ios/pull/1834
[#1721]: https://github.com/DataDog/dd-sdk-ios/pull/1721
[#1803]: https://github.com/DataDog/dd-sdk-ios/pull/1803
[#1853]: https://github.com/DataDog/dd-sdk-ios/pull/1853
[#1807]: https://github.com/DataDog/dd-sdk-ios/pull/1807
[#1854]: https://github.com/DataDog/dd-sdk-ios/pull/1854
[#1828]: https://github.com/DataDog/dd-sdk-ios/pull/1828
[#1835]: https://github.com/DataDog/dd-sdk-ios/pull/1835
[@00fa9a]: https://github.com/00FA9A
[@britton-earnin]: https://github.com/Britton-Earnin
[@hengyu]: https://github.com/Hengyu
Expand Down Expand Up @@ -689,4 +704,4 @@ Release `2.0` introduces breaking changes. Follow the [Migration Guide](MIGRATIO
[@dfed]: https://github.com/dfed
[@cltnschlosser]: https://github.com/cltnschlosser
[@alexfanatics]: https://github.com/alexfanatics
[@changm4n]: https://github.com/changm4n
[@changm4n]: https://github.com/changm4n
3 changes: 2 additions & 1 deletion Cartfile
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
github "microsoft/plcrashreporter" ~> 1.11.1
github "microsoft/plcrashreporter" ~> 1.11.2
binary "https://raw.githubusercontent.com/DataDog/opentelemetry-swift-packages/main/OpenTelemetryApi.json" ~> 1.6.0
3 changes: 2 additions & 1 deletion Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
github "microsoft/plcrashreporter" "1.11.1"
binary "https://raw.githubusercontent.com/DataDog/opentelemetry-swift-packages/main/OpenTelemetryApi.json" "1.6.0"
github "microsoft/plcrashreporter" "1.11.2"
347 changes: 310 additions & 37 deletions Datadog/Datadog.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -196,20 +196,6 @@
BlueprintName = "DatadogCoreTests iOS"
ReferencedContainer = "container:Datadog.xcodeproj">
</BuildableReference>
<SkippedTests>
<Test
Identifier = "HeadBasedSamplingTests/testSendingDroppedDistributedTraceWithNoParent_throughTracerAPI()">
</Test>
<Test
Identifier = "HeadBasedSamplingTests/testSendingDroppedDistributedTraceWithNoParent_throughURLSessionInstrumentationAPI()">
</Test>
<Test
Identifier = "HeadBasedSamplingTests/testSendingDroppedDistributedTraceWithParent_throughTracerAPI()">
</Test>
<Test
Identifier = "HeadBasedSamplingTests/testSendingDroppedDistributedTraceWithParent_throughURLSessionInstrumentationAPI()">
</Test>
</SkippedTests>
</TestableReference>
<TestableReference
skipped = "NO">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,26 +182,6 @@
BlueprintName = "DatadogCoreTests tvOS"
ReferencedContainer = "container:Datadog.xcodeproj">
</BuildableReference>
<SkippedTests>
<Test
Identifier = "HeadBasedSamplingTests/testSendingDroppedDistributedTraceWithNoParent_throughTracerAPI()">
</Test>
<Test
Identifier = "HeadBasedSamplingTests/testSendingDroppedDistributedTraceWithNoParent_throughURLSessionInstrumentationAPI()">
</Test>
<Test
Identifier = "HeadBasedSamplingTests/testSendingDroppedDistributedTraceWithParent_throughTracerAPI()">
</Test>
<Test
Identifier = "HeadBasedSamplingTests/testSendingDroppedDistributedTraceWithParent_throughURLSessionInstrumentationAPI()">
</Test>
<Test
Identifier = "HeadBasedSamplingTests/testSendingSampledDistributedTraceWithNoParent_throughTracerAPI()">
</Test>
<Test
Identifier = "HeadBasedSamplingTests/testSendingSampledDistributedTraceWithParent_throughTracerAPI()">
</Test>
</SkippedTests>
</TestableReference>
<TestableReference
skipped = "NO">
Expand Down
2 changes: 1 addition & 1 deletion Datadog/E2ETests/Tracing/TracerE2ETests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class TracerE2ETests: E2ETests {
/// ```
func test_trace_tracer_inject_span_context() {
let anySpan = tracer.startSpan(operationName: .mockRandom()) // this span is never sent
let anyWriter = HTTPHeadersWriter(samplingStrategy: .custom(sampleRate: 20))
let anyWriter = HTTPHeadersWriter(samplingStrategy: .custom(sampleRate: 20), traceContextInjection: .all)

measure(resourceName: DD.PerfSpanName.fromCurrentMethodName()) {
tracer.inject(spanContext: anySpan.context, writer: anyWriter)
Expand Down
Loading