-
Notifications
You must be signed in to change notification settings - Fork 472
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[V3] Legacy metrics migration #2086
Conversation
The changes are messy and trivial. Suggest reviewing the changes commit by commit. Will squash the commits and rebase in the end. |
Can you put in the title V3? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job! Not blocking- you may wish to quickly review existing guides that reference these for eg availableSendBandwidth etc and modify to the new one
@vidya-mohan FAQ is the only doc that mentions the metric specs, updated the FAQ to remove the legacy specs. |
I agree with you that it is very helpful to mention that. These are interface definitions which should not be that specific in my opinion. The current statement is clear enough. I would prefer writing a guide on these metrics later. |
c3a7cf6
to
ec91cc4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
Issue #1320 :
Description of changes:
Update the legacy
getStats
metrics to standardized metrics.Testing:
Can these tested using a demo application? Please provide reproducible step-by-step instructions.
Yes, browser demo. Tested in browser demo in Chrome, Firefox and Safari and confirmed the change works as expected.
npm run start:hot
to enable debuggingamazon-chime-sdk-js/src/statscollector/DefaultStatsCollector.ts
Line 437 in e67ada2
clientMetricFrame
filteredRawMetricReports
getObservableMetrics()
getObservableVideoMetrics()
getRTCStatsReport()
Checklist:
Have you successfully run
npm run build:release
locally?Yes
Do you add, modify, or delete public API definitions? If yes, has that been reviewed and approved?
Yes
Do you change the wire protocol, e.g. the request method? If yes, has that been reviewed and approved?
Yes
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.