Spike of Firebase Performance Monitoring init ANR errors

Đang mở
#8,243 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
42/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
android, firebase, java

Hướng nghiên cứu

Bắt đầu với stack trace khởi tạo FirebasePerfEarly và so sánh hành vi Firebase Performance Monitoring 22.0.1 được báo cáo với các ghi chú phát hành Android được liên kết. Xác nhận liệu ANR khi khởi tạo có thể được tái hiện hay không và xác định liệu mức tăng đột biến có phải do đường dẫn SDK này gây ra hay không; công việc được xem là hoàn tất khi có nguyên nhân được ghi nhận và hướng giải quyết có thể áp dụng, hoặc đã xác nhận không có vấn đề nào trong Firebase SDK.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

api: performance

In the last couple of days we see a spike in ANRs in the step of initializing Firebase performance monitoring

main (waiting):tid=1 systid=29612 
       at com.google.firebase.perf.FirebasePerfEarly.<init>(FirebasePerfEarly.java:60)
       at com.google.firebase.perf.FirebasePerfRegistrar.lambda$getComponents$0(FirebasePerfRegistrar.java:75)
       at com.google.firebase.perf.FirebasePerfRegistrar$$ExternalSyntheticLambda1.create(D8$$SyntheticClass)
       at com.google.firebase.tracing.ComponentMonitor.lambda$processRegistrar$0(ComponentMonitor.java:38)
       at com.google.firebase.tracing.ComponentMonitor$$ExternalSyntheticLambda0.create(D8$$SyntheticClass)
       at com.google.firebase.components.ComponentRuntime.lambda$discoverComponents$0$com-google-firebase-components-ComponentRuntime(ComponentRuntime.java:160)
       at com.google.firebase.components.ComponentRuntime$$ExternalSyntheticLambda2.get(D8$$SyntheticClass)
       at com.google.firebase.components.Lazy.get(Lazy.java:53)
       at com.google.firebase.components.ComponentRuntime.doInitializeEagerComponents(ComponentRuntime.java:322)
       at com.google.firebase.components.ComponentRuntime.initializeEagerComponents(ComponentRuntime.java:312)
       at com.google.firebase.FirebaseApp.initializeAllApis(FirebaseApp.java:607)
       at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:300)
       at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:264)
       at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:249)

Firebase Status Dashboard https://status.firebase.google.com/summary doesn't show any new incidents so maybe this is something about our code but we didn't do any updates to Firebase in the meantime.

is there a known issue? We are already on 22.0.1 of the firebase performance monitoring library which, looking at the release notes, seems to provide a fix for ANR errors on init.

Thank you for your support.

Ngôn ngữ chính
Java
Star
2.6k
Fork
733
Merge trung bình
2 ngày 15 giờ
Pull request đã merge (30 ngày)
72

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của firebase/firebase-android-sdk

Tất cả issue của firebase/firebase-android-sdk

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.