Skip to content

Commit d01b2b1

Browse files
Update logging URL (#9940)
1 parent 73357da commit d01b2b1

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

FirebasePerformance/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# 9.3.0
2+
- [changed] Update the console logging URL to troubleshooting page.
3+
14
# 8.15.0
25
- Remove the unused code for pre-warm detection.
36

FirebasePerformance/Sources/Common/FPRConsoleURLGenerator.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ + (NSString *)generateCustomTraceURLWithProjectID:(NSString *)projectID
3333
bundleID:(NSString *)bundleID
3434
traceName:(NSString *)traceName {
3535
NSString *rootUrl = [FPRConsoleURLGenerator getRootURLWithProjectID:projectID bundleID:bundleID];
36-
return [NSString stringWithFormat:@"%@/metrics/trace/"
36+
return [NSString stringWithFormat:@"%@/troubleshooting/trace/"
3737
@"DURATION_TRACE/%@?utm_source=%@&utm_medium=%@",
3838
rootUrl, traceName, UTM_SOURCE, UTM_MEDIUM];
3939
}
@@ -43,7 +43,7 @@ + (NSString *)generateScreenTraceURLWithProjectID:(NSString *)projectID
4343
bundleID:(NSString *)bundleID
4444
traceName:(NSString *)traceName {
4545
NSString *rootUrl = [FPRConsoleURLGenerator getRootURLWithProjectID:projectID bundleID:bundleID];
46-
return [NSString stringWithFormat:@"%@/metrics/trace/"
46+
return [NSString stringWithFormat:@"%@/troubleshooting/trace/"
4747
@"SCREEN_TRACE/%@?utm_source=%@&utm_medium=%@",
4848
rootUrl, traceName, UTM_SOURCE, UTM_MEDIUM];
4949
}

FirebasePerformance/Tests/Unit/Common/FPRConsoleURLGeneratorTest.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ - (void)testCustomTraceURL {
4242
traceName:TRACE_NAME];
4343
NSString *expectedURL =
4444
@"https://console.firebase.google.com/project/test-project/performance/app/ios:test-bundle/"
45-
@"metrics/trace/DURATION_TRACE/test-trace?utm_source=perf-ios-sdk&utm_medium=ios-ide";
45+
@"troubleshooting/trace/DURATION_TRACE/test-trace?utm_source=perf-ios-sdk&utm_medium=ios-ide";
4646
XCTAssertEqualObjects(url, expectedURL);
4747
}
4848

@@ -53,7 +53,7 @@ - (void)testScreenTraceURL {
5353
traceName:TRACE_NAME];
5454
NSString *expectedURL =
5555
@"https://console.firebase.google.com/project/test-project/performance/app/ios:test-bundle/"
56-
@"metrics/trace/SCREEN_TRACE/test-trace?utm_source=perf-ios-sdk&utm_medium=ios-ide";
56+
@"troubleshooting/trace/SCREEN_TRACE/test-trace?utm_source=perf-ios-sdk&utm_medium=ios-ide";
5757
XCTAssertEqualObjects(url, expectedURL);
5858
}
5959

0 commit comments

Comments
 (0)