Skip to content

Commit b8a5704

Browse files
authored
[Profiling] Add comment to profiling-stackframes.json (#96384)
1 parent 193e920 commit b8a5704

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

x-pack/plugin/core/src/main/resources/org/elasticsearch/xpack/profiler/component-template/profiling-stackframes.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@
99
}
1010
},
1111
"mappings": {
12+
/*
13+
For the inline chain the profiling-stackframes index needs '_source' to be enabled.
14+
Also, doc_values for the fields below are disabled to not store the values twice.
15+
Using synthetic source reduces storage size by ~50% but requires "concatenation"
16+
of arrays and adds latency when _source is reconstructed at query time.
17+
This last point is why we don't want to use synthetic source right now.
18+
*/
1219
"_source": {
1320
"enabled": true
1421
},

0 commit comments

Comments
 (0)