Skip to content

Commit

Permalink
Heartbeat: fix browser metrics and trace mappings (#30258) (#30417)
Browse files Browse the repository at this point in the history
* Heartbeat: fix browser metrics and trace mappings

* update fields

(cherry picked from commit f535d19)

Co-authored-by: Vignesh Shanmugam <[email protected]>
  • Loading branch information
mergify[bot] and vigneshshanmugam authored Feb 16, 2022
1 parent bbeeae2 commit a531901
Show file tree
Hide file tree
Showing 4 changed files with 204 additions and 185 deletions.
115 changes: 61 additions & 54 deletions heartbeat/_meta/fields.common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,69 +211,76 @@
- name: hash
type: keyword
description: Hash that uniquely identifies this image by content. Corresponds to block document id.
- name: browser

- key: browser
title: "Synthetics browser metrics"
description:
fields:
- name: browser
type: group
description: Browser metrics and traces
fields:
- name: experience
type: group
description: >
Absolute values of all user experience metrics in the browser
relative to the navigation start event in microseconds
fields:
- name: experience
- name: fcp
type: group
description: >
Absolute values of all user experience metrics in the browser
relative to the navigation start event in microseconds
description: duration of First contentful paint metric
fields:
- name: fcp
type: group
description: duration of First contentful paint metric
fields:
- name: us
type: integer
- name: lcp
type: group
description: duration of Largest contentful paint metric
fields:
- name: us
type: integer
- name: dcl
type: group
description: duration of Document content loaded end event
fields:
- name: us
type: integer
- name: load
type: group
description: duration of Load end event
fields:
- name: duration
type: integer
- name: cls
- name: us
type: integer
description: culumative layout shift score across all frames
- name: relative_trace
- name: lcp
type: group
description: >
trace event with timing information that are realtive to
journey timings in microseconds
description: duration of Largest contentful paint metric
fields:
- name: us
type: integer
- name: dcl
type: group
description: duration of Document content loaded end event
fields:
- name: us
type: integer
- name: load
type: group
description: duration of Load end event
fields:
- name: name
type: keyword
description: name of the trace event
- name: type
type: text
description: could be one of mark or measure event types
- name: start
type: group
description: monotonically increasing trace start time in microseconds
fields:
- name: us
type: long
- name: duration
type: group
description: duration of the trace event in microseconds.
fields:
- name: us
type: integer
- name: score
type: integer
description: weighted score of the layout shift event
- name: cls
type: integer
description: culumative layout shift score across all frames

- name: relative_trace
type: group
description: >
trace event with timing information that are realtive to
journey timings in microseconds
fields:
- name: name
type: keyword
description: name of the trace event
- name: type
type: text
description: could be one of mark or measure event types
- name: start
type: group
description: monotonically increasing trace start time in microseconds
fields:
- name: us
type: long
- name: duration
type: group
description: duration of the trace event in microseconds.
fields:
- name: us
type: integer
- name: score
type: integer
description: weighted score of the layout shift event

- key: http
title: "HTTP monitor"
Expand Down
Loading

0 comments on commit a531901

Please sign in to comment.