Closed Bug 1285517 Opened 8 years ago Closed 8 years ago

Improve the logging around streamCreated and exception events

Categories

(Hello (Loop) :: Client, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: standard8, Assigned: standard8)

References

Details

Attachments

(1 file)

In attempting to look at connection times, and details of exceptions, there's some issues in the current logging that make this difficult:

- The event parameter "Session.streamCreated" can currently mean either a) we're starting to receive a remote A/V stream or b) we're starting to receive a remote screen share stream.

Whilst A/V will generally be logged before the screen share, we can't always guarantee it, so this makes analysis harder.

Note: we already have separate "Session.subscribeCompleted" and "Session.screen.subscribeCompleted" events.

- Exceptions are not being logged with an indication of if they apply to A/V or screen sharing. I tried to do this in bug 1281252 but I was checking against just the variable for the publisher, rather than the one for the subscriber as well.
Comment on attachment 8769254 [details] [review]
[loop] Standard8:bug-1285517-stats > mozilla:master

This is further improvements for logging for the connectivity issues work.
Attachment #8769254 - Flags: review?(edilee)
Attachment #8769254 - Flags: review?(dmose)
Attachment #8769254 - Flags: review?(dcritchley)
Comment on attachment 8769254 [details] [review]
[loop] Standard8:bug-1285517-stats > mozilla:master

r=Mardak with a comment to clarify/think about.
Attachment #8769254 - Flags: review?(edilee)
Attachment #8769254 - Flags: review?(dmose)
Attachment #8769254 - Flags: review?(dcritchley)
Attachment #8769254 - Flags: review+
As I mentioned on the PR, I've additionally changed `Session.streamCreated` to `Session.av.streamCreated` for better clarity as to when the new stats kick in.
https://github.com/mozilla/loop/commit/28e16320dabb3adabfafbec39722f5d6f986c604
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Blocks: 1285974
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: