Skip to content
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

Heartbeat: add journey.duration mapping to synthetics event #40230

Merged
merged 4 commits into from
Jul 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ https://github.com/elastic/beats/compare/v8.8.1\...main[Check the HEAD diff]

- Added status to monitor run log report.
- Upgrade node to latest LTS v18.20.3. {pull}40038[40038]
- Add journey duration to synthetics browser events. {pull}40230[40230]

*Metricbeat*

Expand Down
10 changes: 8 additions & 2 deletions heartbeat/_meta/fields.common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,7 @@
- name: index
type: integer
description: >
Indexed used for creating total order of all events
in this invocation.
Index count used for creating total order of all events during invocation.
- name: payload
type: object
enabled: false
Expand Down Expand Up @@ -288,6 +287,13 @@
- name: tags
description: Tags used for grouping journeys
type: keyword
- name: duration
type: group
description: Duration required to complete the journey.
fields:
- name: us
type: integer
description: Duration in microseconds
- name: error
type: group
fields:
Expand Down
17 changes: 16 additions & 1 deletion heartbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -16507,7 +16507,7 @@ type: keyword
*`synthetics.index`*::
+
--
Indexed used for creating total order of all events in this invocation.
Index count used for creating total order of all events during invocation.


type: integer
Expand Down Expand Up @@ -16609,6 +16609,21 @@ type: keyword

--

[float]
=== duration

Duration required to complete the journey.


*`synthetics.journey.duration.us`*::
+
--
Duration in microseconds

type: integer

--


*`synthetics.error.name`*::
+
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.

Loading