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

Dogfood recent changes #612

Merged
merged 108 commits into from
Sep 28, 2021
Merged
Show file tree
Hide file tree
Changes from 105 commits
Commits
Show all changes
108 commits
Select commit Hold shift + click to select a range
99ab25a
RUMM-1566 Always link `DDCrashReporting` as static library
ncreated Aug 31, 2021
420e7d7
RUMM-1566 Remove `static_framework` workaround from CPProject's Podfile
ncreated Aug 31, 2021
9603f2d
RUMM-1420 Set `internal(set) accessor to readonly additionalProperties
maxep Aug 31, 2021
7477dba
RUMM-1420 generate models
maxep Aug 31, 2021
da49d1b
RUMM-1420 Fix name conflicts
maxep Sep 1, 2021
f63ad3f
RUMM-1420 Add swift property mutability test
maxep Sep 1, 2021
0e47cde
RUMM-1420 Add more context in documentation and function names
maxep Sep 1, 2021
2184386
RUMM-1420 Use explicit switch cases for property mutability
maxep Sep 1, 2021
ab4e29f
RUMM-1420 Fix linting errors
maxep Sep 1, 2021
67838d8
RUMM-1582 Expose missing `DDRUMView` and `DDRUMAction` APIs to Obj-c
ncreated Sep 1, 2021
88b3d4d
RUMM-1582 Add smoke tests for public Objc APIs
ncreated Sep 1, 2021
0e7f278
Merge pull request #580 from DataDog/maxep/RUMM-1420-new-attributes-s…
maxep Sep 1, 2021
772d09b
Merge pull request #583 from DataDog/ncreated/RUMM-1582-expose-missin…
ncreated Sep 2, 2021
905adeb
RUMM-1566 Improve CP tests by using targets w/ and w/o `use_frameworks!`
ncreated Aug 31, 2021
62e1f24
RUMM-1566 Fix `CPProject` deployment target for CI
ncreated Sep 2, 2021
61e878f
Merge pull request #578 from DataDog/ncreated/RUMM-1566-enhance-cp-su…
ncreated Sep 2, 2021
16a55a1
Merge pull request #585 from DataDog/release/1.7.0-beta4
ncreated Sep 3, 2021
650f4c5
Update advanced_configuration.md
sarina-dd Sep 1, 2021
18ff27c
Update `advanced_configuration.md` for tracking actions automatically
ncreated Sep 3, 2021
fe57b50
RUMM-1420 `additionalProperties` as [String: Encodable]
maxep Sep 3, 2021
0df7957
RUMM-1420 generate models
maxep Sep 3, 2021
741ba63
Merge pull request #587 from DataDog/maxep/RUMM-1420/additional-prope…
maxep Sep 6, 2021
a10ebb0
RUMM-1420 Remove `attributes` and `userInfoAttributes` property from …
maxep Sep 2, 2021
183099c
RUMM-1420 Remove redundant TODO
maxep Sep 6, 2021
fb0363d
RUMM-1420 Apply RandomMock to RUMEvent
maxep Sep 6, 2021
cb8010c
RUMM-1420 Assert RUMEvent user info
maxep Sep 6, 2021
67de14e
RUMM-1420 Remove `userInfoProvider` from `RUMEvemtBuilder`
maxep Sep 6, 2021
fe20222
RUMM-1420 Fix assertion description
maxep Sep 6, 2021
6413c65
RUMM-1420 Fix linting
maxep Sep 6, 2021
b699ac3
RUMM-1420 Fix benchmark test build
maxep Sep 6, 2021
3ab4322
RUMM-1350 let customer set up a Proxy for data upload
xgouchet Sep 1, 2021
e1f518d
RUMM-1350 add proxy configuration in ObjC
xgouchet Sep 1, 2021
2b30de1
RUMM-1350 remove unnecessary casts
xgouchet Sep 3, 2021
4432b97
RUMM-1350 add documentation
xgouchet Sep 3, 2021
22e44de
Update docs/rum_collection/advanced_configuration.md
xgouchet Sep 6, 2021
a4fe368
Merge pull request #582 from DataDog/xgouchet/RUMM-1350/proxy
xgouchet Sep 6, 2021
93251a4
RUMM-1420 Fix Remove `attributes` parameter from `RUMEventBuilder`
maxep Sep 6, 2021
a601df6
RUMM-1420 Remove TODO
maxep Sep 6, 2021
f9a7a4c
RUMM-1420 Remove error attributes form `CodableRUMViewEvent`
maxep Sep 6, 2021
9e8e442
RUMM-1420 make ValuePublisher final
maxep Sep 6, 2021
677d8a3
RUMM-1597 Add tests to assert that DDCR format matches PLCR text format
ncreated Sep 6, 2021
f571f04
Merge pull request #586 from DataDog/maxep/RUMM-1420-new-attributes-s…
maxep Sep 6, 2021
5fcacc1
RUMM-1455 Add onSessionStart callback setter
maxep Sep 6, 2021
840ba8d
RUMM-1455 API surface
maxep Sep 6, 2021
58d89c1
Merge pull request #589 from DataDog/ncreated/RUMM-1597-compare-unsym…
ncreated Sep 7, 2021
b2de625
RUMM-1455 Rename `onSessionStart` to `onRUMSessionStart`
maxep Sep 7, 2021
d7aca8e
RUMM-1455 Use fuzzy sample rate and expectation fulfillment
maxep Sep 7, 2021
a7ae11c
RUMM-1455 API surface
maxep Sep 7, 2021
4dc2ecc
RUMM-1455 Fix test build
maxep Sep 7, 2021
88b9e66
Merge pull request #590 from DataDog/maxep/RUMM-1455/publish-session-id
maxep Sep 7, 2021
4643224
Merge pull request #584 from DataDog/sarina/broken-hash-links
ncreated Sep 9, 2021
61268ed
RUMM-1373 Fix flakiness in `VitalMemoryReaderTests`
ncreated Sep 10, 2021
511c7a9
RUMM-1373 Fix flakiness in URLSession- and URLSessionDelegate-based t…
ncreated Sep 13, 2021
22b2c7f
RUMM-1373 Fix flakines caused by altering global state
ncreated Sep 14, 2021
c989ffd
RUMM-1373 Fix `[NSError init] called` runtime error
ncreated Sep 14, 2021
92da450
RUMM-1373 Fix tests flakiness in `DataUploadWorkerTests` and cleanup …
ncreated Sep 14, 2021
fd626f7
RUMM-1373 Fix flakiness in `RUMMonitorTests.testStartingViewCreatesNe…
ncreated Sep 14, 2021
889ac20
RUMM-1373 Cleanup
ncreated Sep 14, 2021
514885d
RUMM-1614 Upgrade PLCR to `1.10.0`
ncreated Sep 14, 2021
c12dffa
RUMM-1614 CR fix - do not pin to certain version of PLCR for Carthage
ncreated Sep 14, 2021
c3aef89
RUMM-1487 Add support to US5 servers
xgouchet Aug 27, 2021
5ad2fa7
Merge pull request #576 from DataDog/xgouchet/RUMM-1487/us5
ncreated Sep 15, 2021
3871a95
RUMM-1373 CR fix - start `DatadogTestsObserver` explicitly
ncreated Sep 15, 2021
aceb149
Merge pull request #592 from DataDog/ncreated/RUMM-1373-fix-flaky-tests
ncreated Sep 15, 2021
ea67964
RUMM-1599 Add debug menu for testing Crash Reporting with RUM
ncreated Sep 15, 2021
d44602f
Merge pull request #593 from DataDog/ncreated/RUMM-1614-upgrade-PLCR-…
ncreated Sep 15, 2021
3a91214
RUMM-1373 Do not run `DatadogTests` integrity checks if test fails
ncreated Sep 15, 2021
91206af
Send nithgly unit test Slack notification to different channels
ncreated Sep 16, 2021
2acd996
RUMM-1575 Set `Proxy-Authorization` header with proxy configuration
maxep Sep 16, 2021
602db06
RUMM-1086 Long tasks added
buranmert Sep 16, 2021
bdeb1b5
Merge pull request #594 from DataDog/ncreated/RUMM-1373-do-not-run-in…
ncreated Sep 16, 2021
a6b0a51
Merge pull request #595 from DataDog/ncreated/nightly-unit-tests-obse…
ncreated Sep 16, 2021
8c5935b
RUMM-1588 Add `feature` and `monitor` tags to all monitors
ncreated Sep 17, 2021
19a435e
RUMM-1588 Update performance monitors to use span's resource name and…
ncreated Sep 17, 2021
de43742
RUMM-1086 Long tasks are made explicit in UI Tests
buranmert Sep 20, 2021
affbd28
Merge pull request #596 from DataDog/maxep/RUMM-1575/set-proxy-author…
maxep Sep 20, 2021
b52814f
Update to version 0.9.4 of testing framework
Sep 20, 2021
1910b09
RUMM-1086 PR comments + Objc APIs
buranmert Sep 20, 2021
ec60fcc
Merge pull request #597 from DataDog/ncreated/RUMM-1599-add-debug-men…
ncreated Sep 21, 2021
7088dc8
Merge pull request #599 from DataDog/nachoBonafonte/update-to-0.9.5-t…
Sep 21, 2021
6fc6d5d
Merge pull request #567 from DataDog/buranmert/RUMM-1086-long-tasks
buranmert Sep 21, 2021
e6a4802
RUMM-1588 Add corresponding code to each monitor definition
ncreated Sep 21, 2021
74d4aa7
Bumped version to 1.7.0
ncreated Sep 22, 2021
b12b2f4
RUMM-1469 Fix: CI for fork PRs
buranmert Sep 22, 2021
71d3fc3
Merge pull request #601 from DataDog/ncreated/RUMM-1588-update-monito…
ncreated Sep 23, 2021
ae1c862
Merge pull request #602 from buranmert/buranmert/RUMM-1469-fix-ci-for…
buranmert Sep 23, 2021
1b5a997
RUMM-1625 Add more logs around environment status (simulator, runtime…
ncreated Sep 23, 2021
a7b65fd
RUMM-1625 Do not plan test steps below minimal supported iOS version
ncreated Sep 23, 2021
4481075
RUMM-1605 Use Native resource type instead of XHR
xgouchet Sep 23, 2021
e4f293f
Merge pull request #605 from DataDog/xgouchet/RUMM-1605/native_resource
xgouchet Sep 24, 2021
eaed1cf
Merge pull request #606 from DataDog/ncreated/RUMM-1625-do-not-run-ni…
ncreated Sep 24, 2021
8f2a9c4
RUMM-1609 Use NTP server offset
maxep Sep 24, 2021
b1437d5
RUMM-1278 RefreshRate is scaled down to 0...60
buranmert Sep 24, 2021
0d3b9b3
RUMM-1278 PR comments addressed
buranmert Sep 24, 2021
65d6a1b
RUMM-1278 PR comments addressed
buranmert Sep 27, 2021
30b0e87
Update License to be recognised by Github
xgouchet Sep 27, 2021
818ed4c
Merge pull request #608 from DataDog/buranmert/RUMM-1278-fix-refresh-…
buranmert Sep 27, 2021
1dbb19a
Update CHANGELOG.md
ncreated Sep 27, 2021
f306e7b
Merge pull request #610 from DataDog/xgouchet/license
xgouchet Sep 27, 2021
8895375
RUMM-1609 Keep weak self on Kronos callbacks
maxep Sep 27, 2021
5eae9a8
RUMM-1609 Load Kronos clock for user defauls
maxep Sep 27, 2021
f1e018a
Merge pull request #563 from DataDog/buranmert/RUMM-1492-fix-isSystem…
buranmert Aug 13, 2021
7024d9b
Update `DDCrashReportBuilderTest` for iOS 15.0
ncreated Sep 27, 2021
4fc3c05
RUMM-1091 Harmonize code snippet in documentation
maxep Sep 27, 2021
3c15e19
Merge pull request #603 from DataDog/release/1.7.0
ncreated Sep 27, 2021
b3ff7ca
Merge pull request #607 from DataDog/maxep/RUMM-1609/use-ntp-offset
maxep Sep 27, 2021
cb38e78
RUMM-1091 Fix attributes keys
maxep Sep 27, 2021
17fc5da
Merge pull request #611 from DataDog/maxep/RUMM-1092/update-doc-code-…
maxep Sep 28, 2021
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
36 changes: 36 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# 1.7.0 / 09-27-2021

### Changes

* [BUGFIX] RUM: Fix `DDRUMView` API visibility for Objective-C. See [#583][]
* [FEATURE] Crash Reporting: Add `DatadogCrashReporting`
* [FEATURE] RUM: Add Mobile Vitals. See [#493][] [#514][] [#522][] [#495][]
* [FEATURE] RUM: Add option for renaming instrumented actions. See [#539][]
* [FEATURE] RUM: Add option for tracking events when app is in background. See [#504][] [#537][]
* [FEATURE] Add support for `us3` site. See [#523][]
* [IMPROVEMENT] RUM: Improve RUM <> APM integration. See [#524][] [#575][] [#531][] (Thanks [@jracollins][], [@marcusway][])
* [IMPROVEMENT] RUM: Improve naming for views started with `key:`. See [#534][]
* [IMPROVEMENT] RUM: Improve actions instrumentation. See [#509][] [#545][] [#547][]
* [IMPROVEMENT] RUM: Sanitize custom timings for views. See [#525][]
* [IMPROVEMENT] Do not retry uploading events if Client Token is invalid. See [#535][]

# 1.6.0 / 06-09-2021

### Changes
Expand Down Expand Up @@ -200,6 +216,24 @@
[#479]: https://github.com/DataDog/dd-sdk-ios/issues/479
[#481]: https://github.com/DataDog/dd-sdk-ios/issues/481
[#483]: https://github.com/DataDog/dd-sdk-ios/issues/483
[#493]: https://github.com/DataDog/dd-sdk-ios/issues/493
[#495]: https://github.com/DataDog/dd-sdk-ios/issues/495
[#504]: https://github.com/DataDog/dd-sdk-ios/issues/504
[#509]: https://github.com/DataDog/dd-sdk-ios/issues/509
[#514]: https://github.com/DataDog/dd-sdk-ios/issues/514
[#522]: https://github.com/DataDog/dd-sdk-ios/issues/522
[#523]: https://github.com/DataDog/dd-sdk-ios/issues/523
[#524]: https://github.com/DataDog/dd-sdk-ios/issues/524
[#525]: https://github.com/DataDog/dd-sdk-ios/issues/525
[#531]: https://github.com/DataDog/dd-sdk-ios/issues/531
[#534]: https://github.com/DataDog/dd-sdk-ios/issues/534
[#535]: https://github.com/DataDog/dd-sdk-ios/issues/535
[#537]: https://github.com/DataDog/dd-sdk-ios/issues/537
[#539]: https://github.com/DataDog/dd-sdk-ios/issues/539
[#545]: https://github.com/DataDog/dd-sdk-ios/issues/545
[#547]: https://github.com/DataDog/dd-sdk-ios/issues/547
[#575]: https://github.com/DataDog/dd-sdk-ios/issues/575
[#583]: https://github.com/DataDog/dd-sdk-ios/issues/583
[@00FA9A]: https://github.com/00FA9A
[@Britton-Earnin]: https://github.com/Britton-Earnin
[@Hengyu]: https://github.com/Hengyu
Expand All @@ -211,8 +245,10 @@
[@hyling]: https://github.com/hyling
[@jegnux]: https://github.com/jegnux
[@joeydong]: https://github.com/joeydong
[@jracollins]: https://github.com/jracollins
[@lgaches]: https://github.com/lgaches
[@lmramirez]: https://github.com/lmramirez
[@marcusway]: https://github.com/marcusway
[@philtre]: https://github.com/philtre
[@provTheodoreNewell]: https://github.com/provTheodoreNewell
[@sdejesusF]: https://github.com/sdejesusF
2 changes: 1 addition & 1 deletion Cartfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github "lyft/Kronos" ~> 4.2
github "microsoft/plcrashreporter" == 1.8.1
github "microsoft/plcrashreporter" ~> 1.10.0
2 changes: 1 addition & 1 deletion Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github "lyft/Kronos" "4.2.1"
github "microsoft/plcrashreporter" "1.8.1"
github "microsoft/plcrashreporter" "1.10.0"
82 changes: 82 additions & 0 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 @@ -76,6 +76,11 @@
value = "1"
isEnabled = "YES">
</EnvironmentVariable>
<EnvironmentVariable
key = "DD_DISABLE_NETWORK_INSTRUMENTATION"
value = "$(DD_DISABLE_NETWORK_INSTRUMENTATION)"
isEnabled = "YES">
</EnvironmentVariable>
<EnvironmentVariable
key = "SRCROOT"
value = "$(SRCROOT)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@
value = "LoggingManualInstrumentationScenario"
isEnabled = "NO">
</EnvironmentVariable>
<EnvironmentVariable
key = "DD_TEST_SCENARIO_CLASS_NAME"
value = "RUMMobileVitalsScenario"
isEnabled = "NO">
</EnvironmentVariable>
<EnvironmentVariable
key = "DD_TEST_SCENARIO_CLASS_NAME"
value = "TracingManualInstrumentationScenario"
Expand Down
13 changes: 7 additions & 6 deletions Datadog/E2ETests/E2ETests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,24 @@ class E2ETests: XCTestCase {

/// - common performance monitor - measures `Datadog.initialize(...)` performance:
/// ```apm
/// $feature = core
/// $monitor_id = sdk_initialize_performance
/// $monitor_name = "[RUM] [iOS] Nightly Performance - sdk_initialize: has a high average execution time"
/// $monitor_query = "avg(last_1d):avg:trace.sdk_initialize{env:instrumentation,resource_name:sdk_initialize,service:com.datadog.ios.nightly} > 0.016"
/// $monitor_query = "avg(last_1d):avg:trace.perf_measure{env:instrumentation,resource_name:sdk_initialize,service:com.datadog.ios.nightly} > 0.016"
/// $monitor_threshold = 0.016
/// ```

// MARK: - Measuring Performance with APM

/// Measures time of execution for given `block` - sends it as a `Span` with a given name.
func measure(spanName: String, _ block: () -> Void) {
/// Measures time of execution for given `block` - sends it as a `"perf_measure"` `Span` with a given resource name.
func measure(resourceName: String, _ block: () -> Void) {
let start = Date()
block()
let stop = Date()

Global.sharedTracer
.startRootSpan(operationName: spanName, startTime: start)
.finish(at: stop)
let performanceSpan = Global.sharedTracer.startRootSpan(operationName: "perf_measure", startTime: start)
performanceSpan.setTag(key: DDTags.resource, value: resourceName)
performanceSpan.finish(at: stop)
}

// MARK: - SDK Lifecycle
Expand Down
27 changes: 14 additions & 13 deletions Datadog/E2ETests/Logging/LoggerBuilderE2ETests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ class LoggerBuilderE2ETests: E2ETests {

/// - common performance monitor - measures `Logger.builder.build()` performance:
/// ```apm
/// $feature = logs
/// $monitor_id = logs_logger_initialize_performance
/// $monitor_name = "[RUM] [iOS] Nightly Performance - logs_logger_initialize: has a high average execution time"
/// $monitor_query = "avg(last_1d):avg:trace.logs_logger_initialize{env:instrumentation,resource_name:logs_logger_initialize,service:com.datadog.ios.nightly} > 0.016"
/// $monitor_query = "avg(last_1d):avg:trace.perf_measure{env:instrumentation,resource_name:logs_logger_initialize,service:com.datadog.ios.nightly} > 0.016"
/// $monitor_threshold = 0.016
/// ```

Expand All @@ -35,7 +36,7 @@ class LoggerBuilderE2ETests: E2ETests {
/// $monitor_query = "logs(\"service:com.datadog.ios.nightly.custom @test_method_name:logs_logger_builder_set_service_name\").index(\"*\").rollup(\"count\").last(\"1d\") < 1"
/// ```
func test_logs_logger_builder_set_SERVICE_NAME() {
measure(spanName: DD.PerfSpanName.loggerInitialize) {
measure(resourceName: DD.PerfSpanName.loggerInitialize) {
logger = Logger.builder.set(serviceName: "com.datadog.ios.nightly.custom").build()
}

Expand All @@ -51,7 +52,7 @@ class LoggerBuilderE2ETests: E2ETests {
/// $monitor_query = "logs(\"service:com.datadog.ios.nightly @test_method_name:logs_logger_builder_set_logger_name @logger.name:custom_logger_name\").index(\"*\").rollup(\"count\").last(\"1d\") < 1"
/// ```
func test_logs_logger_builder_set_LOGGER_NAME() {
measure(spanName: DD.PerfSpanName.loggerInitialize) {
measure(resourceName: DD.PerfSpanName.loggerInitialize) {
logger = Logger.builder.set(loggerName: "custom_logger_name").build()
}

Expand All @@ -67,7 +68,7 @@ class LoggerBuilderE2ETests: E2ETests {
/// $monitor_query = "logs(\"service:com.datadog.ios.nightly @test_method_name:logs_logger_builder_send_network_info_enabled @network.client.reachability:*\").index(\"*\").rollup(\"count\").last(\"1d\") < 1"
/// ```
func test_logs_logger_builder_SEND_NETWORK_INFO_enabled() {
measure(spanName: DD.PerfSpanName.loggerInitialize) {
measure(resourceName: DD.PerfSpanName.loggerInitialize) {
logger = Logger.builder.sendNetworkInfo(true).build()
}

Expand All @@ -85,7 +86,7 @@ class LoggerBuilderE2ETests: E2ETests {
/// $notify_no_data = false
/// ```
func test_logs_logger_builder_SEND_NETWORK_INFO_disabled() {
measure(spanName: DD.PerfSpanName.loggerInitialize) {
measure(resourceName: DD.PerfSpanName.loggerInitialize) {
logger = Logger.builder.sendNetworkInfo(false).build()
}

Expand All @@ -103,7 +104,7 @@ class LoggerBuilderE2ETests: E2ETests {
/// $monitor_query = "logs(\"service:com.datadog.ios.nightly @test_method_name:logs_logger_builder_send_logs_to_datadog_enabled\").index(\"*\").rollup(\"count\").last(\"1d\") < 1"
/// ```
func test_logs_logger_builder_SEND_LOGS_TO_DATADOG_enabled() {
measure(spanName: DD.PerfSpanName.loggerInitialize) {
measure(resourceName: DD.PerfSpanName.loggerInitialize) {
logger = Logger.builder.sendLogsToDatadog(true).build()
}

Expand All @@ -121,7 +122,7 @@ class LoggerBuilderE2ETests: E2ETests {
/// $notify_no_data = false
/// ```
func test_logs_logger_builder_SEND_LOGS_TO_DATADOG_disabled() {
measure(spanName: DD.PerfSpanName.loggerInitialize) {
measure(resourceName: DD.PerfSpanName.loggerInitialize) {
logger = Logger.builder.sendLogsToDatadog(false).build()
}

Expand All @@ -137,7 +138,7 @@ class LoggerBuilderE2ETests: E2ETests {
/// $monitor_query = "logs(\"service:com.datadog.ios.nightly @test_method_name:logs_logger_builder_print_logs_to_console_enabled\").index(\"*\").rollup(\"count\").last(\"1d\") < 1"
/// ```
func test_logs_logger_builder_PRINT_LOGS_TO_CONSOLE_enabled() {
measure(spanName: DD.PerfSpanName.loggerInitialize) {
measure(resourceName: DD.PerfSpanName.loggerInitialize) {
logger = Logger.builder.printLogsToConsole(true, usingFormat: .random()).build()
}

Expand All @@ -153,7 +154,7 @@ class LoggerBuilderE2ETests: E2ETests {
/// $monitor_query = "logs(\"service:com.datadog.ios.nightly @test_method_name:logs_logger_builder_print_logs_to_console_disabled\").index(\"*\").rollup(\"count\").last(\"1d\") < 1"
/// ```
func test_logs_logger_builder_PRINT_LOGS_TO_CONSOLE_disabled() {
measure(spanName: DD.PerfSpanName.loggerInitialize) {
measure(resourceName: DD.PerfSpanName.loggerInitialize) {
logger = Logger.builder.printLogsToConsole(false, usingFormat: .random()).build()
}

Expand All @@ -171,7 +172,7 @@ class LoggerBuilderE2ETests: E2ETests {
/// $monitor_query = "logs(\"service:com.datadog.ios.nightly @test_method_name:logs_logger_builder_bundle_with_rum_enabled @application_id:* @session_id:*\").index(\"*\").rollup(\"count\").last(\"1d\") < 1"
/// ```
func test_logs_logger_builder_BUNDLE_WITH_RUM_enabled() {
measure(spanName: DD.PerfSpanName.loggerInitialize) {
measure(resourceName: DD.PerfSpanName.loggerInitialize) {
logger = Logger.builder.bundleWithRUM(true).build()
}

Expand All @@ -193,7 +194,7 @@ class LoggerBuilderE2ETests: E2ETests {
/// $notify_no_data = false
/// ```
func test_logs_logger_builder_BUNDLE_WITH_RUM_disabled() {
measure(spanName: DD.PerfSpanName.loggerInitialize) {
measure(resourceName: DD.PerfSpanName.loggerInitialize) {
logger = Logger.builder.bundleWithRUM(false).build()
}

Expand All @@ -215,7 +216,7 @@ class LoggerBuilderE2ETests: E2ETests {
/// $monitor_query = "logs(\"service:com.datadog.ios.nightly @test_method_name:logs_logger_builder_bundle_with_trace_enabled\").index(\"*\").rollup(\"count\").last(\"1d\") < 1"
/// ```
func test_logs_logger_builder_BUNDLE_WITH_TRACE_enabled() {
measure(spanName: DD.PerfSpanName.loggerInitialize) {
measure(resourceName: DD.PerfSpanName.loggerInitialize) {
logger = Logger.builder.bundleWithTrace(true).build()
}

Expand All @@ -235,7 +236,7 @@ class LoggerBuilderE2ETests: E2ETests {
/// $monitor_query = "logs(\"service:com.datadog.ios.nightly @test_method_name:logs_logger_builder_bundle_with_trace_disabled\").index(\"*\").rollup(\"count\").last(\"1d\") < 1"
/// ```
func test_logs_logger_builder_BUNDLE_WITH_TRACE_disabled() {
measure(spanName: DD.PerfSpanName.loggerInitialize) {
measure(resourceName: DD.PerfSpanName.loggerInitialize) {
logger = Logger.builder.bundleWithTrace(false).build()
}

Expand Down
Loading