Skip to content

Commit 78bc48e

Browse files
authored
Update traces duration mappings with appropriate unit type (#129418)
1 parent ecee8b1 commit 78bc48e

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

docs/changelog/129418.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 129418
2+
summary: Update traces duration mappings with appropriate unit type
3+
area: Ingest Node
4+
type: enhancement
5+
issues: []

x-pack/plugin/apm-data/src/main/resources/component-templates/[email protected]

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ template:
4343
# span.*
4444
span.duration.us:
4545
type: long
46+
meta:
47+
unit: micros
4648
span.representative_count:
4749
type: scaled_float
4850
scaling_factor: 1000
@@ -57,6 +59,8 @@ template:
5759
dynamic: false
5860
transaction.duration.us:
5961
type: long
62+
meta:
63+
unit: micros
6064
transaction.representative_count:
6165
type: scaled_float
6266
scaling_factor: 1000

x-pack/plugin/apm-data/src/main/resources/resources.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# "version" holds the version of the templates and ingest pipelines installed
22
# by xpack-plugin apm-data. This must be increased whenever an existing template or
33
# pipeline is changed, in order for it to be updated on Elasticsearch upgrade.
4-
version: 14
4+
version: 15
55

66
component-templates:
77
# Data lifecycle.

0 commit comments

Comments
 (0)