Skip to content

Commit 7ac3d06

Browse files
committed
Update dashboard and docs for split_search_outcome metric
Replace deprecated leaf_searches_splits_total metric with the new split_search_outcome metric introduced in #6001. The new metric tracks split search outcomes by category (cache_hit, pruned, cancelled, success, etc.). Also added leaf_list_terms_splits_total to docs.
1 parent b6f853f commit 7ac3d06

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

docs/reference/metrics.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ Examples of operation names: `create_index`, `index_metadata`, `delete_index`, `
6868

6969
| Namespace | Metric Name | Description | Type |
7070
| --------- | ----------- | ----------- | ---- |
71-
| `quickwit_search` | `leaf_searches_splits_total` | Number of leaf searches (count of splits) started | `counter` |
71+
| `quickwit_search` | `split_search_outcome` | Count of split search outcomes by category | `counter` |
7272
| `quickwit_search` | `leaf_search_split_duration_secs` | Number of seconds required to run a leaf search over a single split. The timer starts after the semaphore is obtained | `histogram` |
73-
| `quickwit_search` | `active_search_threads_count` | Number of threads in use in the CPU thread pool | `gauge` |
73+
| `quickwit_search` | `leaf_list_terms_splits_total` | Number of list terms splits total | `counter` |
7474

7575
## Storage Metrics
7676

monitoring/grafana/dashboards/searchers.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,17 +108,17 @@
108108
},
109109
"disableTextWrap": false,
110110
"editorMode": "builder",
111-
"expr": "quickwit_search_leaf_searches_splits_total{instance=~\"$instance\"}",
111+
"expr": "quickwit_search_split_search_outcome{instance=~\"$instance\"}",
112112
"fullMetaSearch": false,
113113
"includeNullMetadata": true,
114114
"instant": false,
115-
"legendFormat": "{{instance}}",
115+
"legendFormat": "{{instance}} {{category}}",
116116
"range": true,
117117
"refId": "A",
118118
"useBackend": false
119119
}
120120
],
121-
"title": "Leaf search splits",
121+
"title": "Split search outcome",
122122
"type": "timeseries"
123123
},
124124
{
@@ -857,15 +857,15 @@
857857
"type": "prometheus",
858858
"uid": "${datasource}"
859859
},
860-
"definition": "label_values(quickwit_search_leaf_searches_splits_total,instance)",
860+
"definition": "label_values(quickwit_search_split_search_outcome,instance)",
861861
"hide": 0,
862862
"includeAll": true,
863863
"label": "Instance",
864864
"multi": false,
865865
"name": "instance",
866866
"options": [],
867867
"query": {
868-
"query": "label_values(quickwit_search_leaf_searches_splits_total,instance)",
868+
"query": "label_values(quickwit_search_split_search_outcome,instance)",
869869
"refId": "StandardVariableQuery"
870870
},
871871
"refresh": 1,

0 commit comments

Comments
 (0)