mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[Profiling] Fine-tune mappings (#152799)
With this commit we avoid storing doc values for `stackframe.function.name` to save disk space as doc values are not needed due to our access pattern. We also sort stack traces by stack frame ids to improve disk layout.
This commit is contained in:
parent
d2a329f88d
commit
e97f488a1a
2 changed files with 9 additions and 2 deletions
|
@ -30,7 +30,9 @@
|
|||
},
|
||||
"Stackframe.function.name": {
|
||||
"type": "keyword",
|
||||
"index": false
|
||||
"index": false,
|
||||
"doc_values": false,
|
||||
"store": false
|
||||
},
|
||||
"Stackframe.function.offset": {
|
||||
"type": "integer",
|
||||
|
|
|
@ -2,7 +2,12 @@
|
|||
"settings": {
|
||||
"index": {
|
||||
"number_of_shards": 16,
|
||||
"refresh_interval": "10s"
|
||||
"refresh_interval": "10s",
|
||||
"sort": {
|
||||
"field": [
|
||||
"Stacktrace.frame.ids"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"mappings": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue