Skip to content

Commit f535d19

Browse files
Heartbeat: fix browser metrics and trace mappings (#30258)
* Heartbeat: fix browser metrics and trace mappings * update fields
1 parent 9e0ae97 commit f535d19

4 files changed

Lines changed: 204 additions & 185 deletions

File tree

heartbeat/_meta/fields.common.yml

Lines changed: 61 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -211,69 +211,76 @@
211211
- name: hash
212212
type: keyword
213213
description: Hash that uniquely identifies this image by content. Corresponds to block document id.
214-
- name: browser
214+
215+
- key: browser
216+
title: "Synthetics browser metrics"
217+
description:
218+
fields:
219+
- name: browser
220+
type: group
221+
description: Browser metrics and traces
222+
fields:
223+
- name: experience
215224
type: group
225+
description: >
226+
Absolute values of all user experience metrics in the browser
227+
relative to the navigation start event in microseconds
216228
fields:
217-
- name: experience
229+
- name: fcp
218230
type: group
219-
description: >
220-
Absolute values of all user experience metrics in the browser
221-
relative to the navigation start event in microseconds
231+
description: duration of First contentful paint metric
222232
fields:
223-
- name: fcp
224-
type: group
225-
description: duration of First contentful paint metric
226-
fields:
227-
- name: us
228-
type: integer
229-
- name: lcp
230-
type: group
231-
description: duration of Largest contentful paint metric
232-
fields:
233-
- name: us
234-
type: integer
235-
- name: dcl
236-
type: group
237-
description: duration of Document content loaded end event
238-
fields:
239-
- name: us
240-
type: integer
241-
- name: load
242-
type: group
243-
description: duration of Load end event
244-
fields:
245-
- name: duration
246-
type: integer
247-
- name: cls
233+
- name: us
248234
type: integer
249-
description: culumative layout shift score across all frames
250-
- name: relative_trace
235+
- name: lcp
251236
type: group
252-
description: >
253-
trace event with timing information that are realtive to
254-
journey timings in microseconds
237+
description: duration of Largest contentful paint metric
238+
fields:
239+
- name: us
240+
type: integer
241+
- name: dcl
242+
type: group
243+
description: duration of Document content loaded end event
244+
fields:
245+
- name: us
246+
type: integer
247+
- name: load
248+
type: group
249+
description: duration of Load end event
255250
fields:
256-
- name: name
257-
type: keyword
258-
description: name of the trace event
259-
- name: type
260-
type: text
261-
description: could be one of mark or measure event types
262-
- name: start
263-
type: group
264-
description: monotonically increasing trace start time in microseconds
265-
fields:
266-
- name: us
267-
type: long
268251
- name: duration
269-
type: group
270-
description: duration of the trace event in microseconds.
271-
fields:
272-
- name: us
273-
type: integer
274-
- name: score
275252
type: integer
276-
description: weighted score of the layout shift event
253+
- name: cls
254+
type: integer
255+
description: culumative layout shift score across all frames
256+
257+
- name: relative_trace
258+
type: group
259+
description: >
260+
trace event with timing information that are realtive to
261+
journey timings in microseconds
262+
fields:
263+
- name: name
264+
type: keyword
265+
description: name of the trace event
266+
- name: type
267+
type: text
268+
description: could be one of mark or measure event types
269+
- name: start
270+
type: group
271+
description: monotonically increasing trace start time in microseconds
272+
fields:
273+
- name: us
274+
type: long
275+
- name: duration
276+
type: group
277+
description: duration of the trace event in microseconds.
278+
fields:
279+
- name: us
280+
type: integer
281+
- name: score
282+
type: integer
283+
description: weighted score of the layout shift event
277284

278285
- key: http
279286
title: "HTTP monitor"

0 commit comments

Comments
 (0)