-
Notifications
You must be signed in to change notification settings - Fork 4
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
RUM-7110 Add the OOB mobile view loading metrics properties #229
RUM-7110 Add the OOB mobile view loading metrics properties #229
Conversation
b83dc02
to
ec7e7a6
Compare
schemas/rum/view-schema.json
Outdated
@@ -31,6 +31,18 @@ | |||
"minimum": 0, | |||
"readOnly": true | |||
}, | |||
"network_settled_time": { | |||
"type": "integer", | |||
"description": "Duration in ns from the moment the initial network requests in current view started until they settled", |
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.
Note
IIRC from the RFC, the metric is measured from the moment the current view started, right, not from the start of the initial request?
"description": "Duration in ns from the moment the initial network requests in current view started until they settled", | |
"description": "Duration in ns from the moment the current view started until the initial network requests settled", |
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.
yes correct, my mistake here 👍
schemas/rum/view-schema.json
Outdated
}, | ||
"interaction_to_next_view_time": { | ||
"type": "integer", | ||
"description": "Duration in ns to from the last interaction on previous view to the moment the next view is displayed", |
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.
Note
The metric relates to the current view, not the next (future) one.
"description": "Duration in ns to from the last interaction on previous view to the moment the next view is displayed", | |
"description": "Duration in ns to from the last interaction on previous view to the moment the current view was displayed", |
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.
yeah...for me next
is actually current
in the context. But if you think current
is better I can change it yes
ec7e7a6
to
3d59884
Compare
*/ | ||
readonly network_settled_time?: number; | ||
/** | ||
* Duration in ns to from the last interaction on previous view to the moment the current view was displayed |
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.
* Duration in ns to from the last interaction on previous view to the moment the current view was displayed | |
* Duration in ns from the last interaction on previous view to the moment the current view was displayed |
3d59884
to
9907d32
Compare
Following our internal RFC we are adding 2 new properties on the
view-schema.json
to be used for the out-of-the-box view loading time metrics we propose for the our mobile RUM sdks.