Skip to content

Commit a61e652

Browse files
Merge 72423d8 into 172c95a
2 parents 172c95a + 72423d8 commit a61e652

3 files changed

Lines changed: 5 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
- Sentry-trace header incorrectly assigned to http requests (#2167)
1616
- Use the `component` name source for SentryPerformanceTracker (#2168)
1717
- Add support for arm64 architecture to the device context (#2185)
18+
- Align core data span operations (#2222)
1819

1920
## 7.25.1
2021

Sources/Sentry/include/SentryCoreDataTracker.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44

55
NS_ASSUME_NONNULL_BEGIN
66

7-
static NSString *const SENTRY_COREDATA_FETCH_OPERATION = @"db.query";
8-
9-
static NSString *const SENTRY_COREDATA_SAVE_OPERATION = @"db.transaction";
7+
static NSString *const SENTRY_COREDATA_FETCH_OPERATION = @"db.sql.query";
8+
static NSString *const SENTRY_COREDATA_SAVE_OPERATION = @"db.sql.transaction";
109

1110
@interface SentryCoreDataTracker : NSObject <SentryCoreDataMiddleware>
1211

Tests/SentryTests/Integrations/Performance/CoreData/SentryCoreDataTrackerTest.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,8 @@ class SentryCoreDataTrackerTests: XCTestCase {
3131

3232
func testConstants() {
3333
//Test constants to make sure we don't accidentally change it
34-
XCTAssertEqual(SENTRY_COREDATA_FETCH_OPERATION, "db.query")
35-
XCTAssertEqual(SENTRY_COREDATA_SAVE_OPERATION, "db.transaction")
36-
34+
XCTAssertEqual(SENTRY_COREDATA_FETCH_OPERATION, "db.sql.query")
35+
XCTAssertEqual(SENTRY_COREDATA_SAVE_OPERATION, "db.sql.transaction")
3736
}
3837

3938
func testFetchRequest() {

0 commit comments

Comments
 (0)