Update traces duration mappings with appropriate unit type (#129418)

This commit is contained in:
Gonçalo Rica Pais da Silva 2025-06-16 12:11:59 +02:00 committed by GitHub
parent ecee8b10e7
commit 78bc48e8b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 10 additions and 1 deletions

View file

@ -0,0 +1,5 @@
pr: 129418
summary: Update traces duration mappings with appropriate unit type
area: Ingest Node
type: enhancement
issues: []

View file

@ -43,6 +43,8 @@ template:
# span.*
span.duration.us:
type: long
meta:
unit: micros
span.representative_count:
type: scaled_float
scaling_factor: 1000
@ -57,6 +59,8 @@ template:
dynamic: false
transaction.duration.us:
type: long
meta:
unit: micros
transaction.representative_count:
type: scaled_float
scaling_factor: 1000

View file

@ -1,7 +1,7 @@
# "version" holds the version of the templates and ingest pipelines installed
# by xpack-plugin apm-data. This must be increased whenever an existing template or
# pipeline is changed, in order for it to be updated on Elasticsearch upgrade.
version: 14
version: 15
component-templates:
# Data lifecycle.