angular / angular/angularfire

Performance traces are not being reported to firebase anymore

Đang mở
#3,282 9 bình luận 0 reaction 0 người được giao Xem trên GitHub
comp: performance needs: recheck type: bug version: current (v17+)
Ngôn ngữ chính
TypeScript
Star
7.8k
Fork
2.2k
Merge trung bình
22 giờ 28 phút
Pull request đã merge (30 ngày)
6

Mô tả

### Version info

**Angular:**14.2.4

**Firebase:**9.10.0

**AngularFire:**7.4.1

### How to reproduce these conditions
```
...
imports: [
provideFirebaseApp(() => initializeApp(environment.firebase)),
providePerformance(() => (environment.production ? getPerformance() : undefined)),
]
```

Note that the environment is in fact production, I've verified it, so the `getPerformance()` should be evaluated.

### Debug output

** Screenshots **
![image](https://user-images.githubusercontent.com/22910115/197647332-f196407b-bf48-467b-82e2-c9832c594afe.png)

### Expected behavior

AngularFire Performance reporting performance data to Firebase.

### Actual behavior

Not even network requests to `firebaselogging.googleapis.com` are happening. I've received data only between 11 and 20 of October. The relevant code did not change, so I have no clue why trace reporting stopped after the 20th.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu với tích hợp AngularFire `providePerformance` và lệnh gọi `getPerformance()` được hiển thị trong phần tái hiện, sử dụng các phiên bản Angular, Firebase và AngularFire được liệt kê. Tái hiện trong môi trường production và kiểm tra xem các yêu cầu có đến được `firebaselogging.googleapis.com` hay không; hoàn tất có nghĩa là các trace hiệu năng lại được báo cáo lên Firebase.

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

Đánh giá

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

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.