Skip to content

Commit e3651ca

Browse files
committed
Change prefix for profiler_stack_trace_ids
1 parent 8fcd831 commit e3651ca

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ template:
4646
dynamic: true
4747
priority: 20
4848
properties:
49-
transaction.profiler_stack_trace_ids:
49+
elastic.profiler_stack_trace_ids:
5050
type: counted_keyword
5151
links:
5252
synthetic_source_keep: arrays

x-pack/plugin/otel-data/src/yamlRestTest/resources/rest-api-spec/test/20_traces_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ traces@lifecycle:
148148
refresh: true
149149
body:
150150
- create: {}
151-
- '{"@timestamp":"2024-07-18T14:49:33.467654000Z","data_stream":{"dataset":"generic.otel","namespace":"default"}, "span_id":"1", "attributes": {"transaction.profiler_stack_trace_ids": "S7VyNjRieh4zCEmv7MiwwAcaFlvHvn1cleFkExsq-nbA"}}'
151+
- '{"@timestamp":"2024-07-18T14:49:33.467654000Z","data_stream":{"dataset":"generic.otel","namespace":"default"}, "span_id":"1", "attributes": {"elastic.profiler_stack_trace_ids": "S7VyNjRieh4zCEmv7MiwwAcaFlvHvn1cleFkExsq-nbA"}}'
152152
- is_false: errors
153153
- do:
154154
indices.get_data_stream:
@@ -157,4 +157,4 @@ traces@lifecycle:
157157
- do:
158158
indices.get_mapping:
159159
index: $idx0name
160-
- match: { .$idx0name.mappings.properties.attributes.properties.transaction\.profiler_stack_trace_ids.type: 'counted_keyword' }
160+
- match: { .$idx0name.mappings.properties.attributes.properties.elastic\.profiler_stack_trace_ids.type: 'counted_keyword' }

0 commit comments

Comments
 (0)