Skip to content

Commit

Permalink
[Heartbeat]: add mappings for performance metrics (#26140)
Browse files Browse the repository at this point in the history
* [Heartbeat]: add mappings for performance metrics

* build new mappings

* address review comments

* update fields

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
vigneshshanmugam and mergify[bot] authored Jun 7, 2021
1 parent 447bac9 commit cb085d0
Show file tree
Hide file tree
Showing 4 changed files with 146 additions and 8 deletions.
58 changes: 52 additions & 6 deletions heartbeat/_meta/fields.common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,52 @@
type: text
- name: stack
type: text
- name: browser
type: group
fields:
- name: experience
type: group
fields:
- name: name
type: keyword
- name: type
type: text
description: >
denotes the 'mark' event
- name: start
type: long
description: >
offset of time relative to journey start in milliseconds
- name: user_timing
type: group
fields:
- name: name
type: keyword
- name: type
type: text
description: >
could be one of mark or measure event types.
- name: start
type: long
description: >
offset of time relative to journey start in milliseconds
- name: end
type: long
description: >
offset of time relative to journey start in milliseconds
- name: layout_shift
type: group
fields:
- name: name
type: keyword
- name: score
type: integer
- name: exists
type: boolean
description: >
flag that indicates if there was any layout shift events
present on the page.
- key: http
title: "HTTP monitor"
description:
Expand Down Expand Up @@ -379,12 +425,12 @@
type: group
description: Detailed x509 certificate metadata
fields:
- name: version_number
type: keyword
ignore_above: 1024
description: Version of x509 format.
example: 3
default_field: false
- name: version_number
type: keyword
ignore_above: 1024
description: Version of x509 format.
example: 3
default_field: false

- key: icmp
title: "ICMP"
Expand Down
92 changes: 92 additions & 0 deletions heartbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -10499,6 +10499,98 @@ type: text
--
*`synthetics.browser.experience.name`*::
+
--
type: keyword
--
*`synthetics.browser.experience.type`*::
+
--
denotes the 'mark' event
type: text
--
*`synthetics.browser.experience.start`*::
+
--
offset of time relative to journey start in milliseconds
type: long
--
*`synthetics.browser.user_timing.name`*::
+
--
type: keyword
--
*`synthetics.browser.user_timing.type`*::
+
--
could be one of mark or measure event types.
type: text
--
*`synthetics.browser.user_timing.start`*::
+
--
offset of time relative to journey start in milliseconds
type: long
--
*`synthetics.browser.user_timing.end`*::
+
--
offset of time relative to journey start in milliseconds
type: long
--
*`synthetics.browser.layout_shift.name`*::
+
--
type: keyword
--
*`synthetics.browser.layout_shift.score`*::
+
--
type: integer
--
*`synthetics.browser.layout_shift.exists`*::
+
--
flag that indicates if there was any layout shift events present on the page.
type: boolean
--
[[exported-fields-tcp]]
== TCP layer fields
Expand Down
2 changes: 1 addition & 1 deletion heartbeat/include/fields.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion x-pack/heartbeat/include/fields.go

Large diffs are not rendered by default.

0 comments on commit cb085d0

Please sign in to comment.