Add 8.1.0 FTS metrics to search dashboard#141
Open
capemox wants to merge 2 commits intocouchbaselabs:masterfrom
Open
Add 8.1.0 FTS metrics to search dashboard#141capemox wants to merge 2 commits intocouchbaselabs:masterfrom
capemox wants to merge 2 commits intocouchbaselabs:masterfrom
Conversation
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Adds new Grafana panels to the search dashboard to visualize the new FTS 8.1.0 “vector indexes loaded in memory” metrics (GPU and CPU), using the repo’s dashboard templating metadata format (_base, _targets).
Changes:
- Added a panel for
fts_total_vector_indexes_in_gpu. - Added a panel for
fts_total_vector_indexes_in_cpu.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Adds panels for runtime/heap metrics (goroutines, cgocalls, heap_alloc, heap_idle, heap_inuse, heap_released, mallocs, frees) and the new total_scan_plus_queries_kv_errors counter introduced in 8.1.0. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
maneuvertomars
approved these changes
Apr 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds panels to the search dashboard for the new FTS metrics introduced in 8.1.0 (per
cbft/etc/metrics_metadata.json):Go runtime / heap:
fts_num_goroutines- current number of goroutines running in the FTS processfts_num_cgocalls- total number of CGo calls made by the FTS process since startupfts_heap_alloc- bytes of allocated heap objects currently in usefts_heap_idle- bytes in idle (unused) heap spansfts_heap_inuse- bytes in non-idle heap spansfts_heap_released- bytes of physical memory returned to the OSfts_mallocs- cumulative count of heap objects allocatedfts_frees- cumulative count of heap objects freedQuery errors:
fts_total_scan_plus_queries_kv_errors- total number of KV errors encountered during scan plus queriesVector index placement (GPU / CPU):
fts_total_vector_indexes_in_gpu- total number of segmented vector indexes currently loaded in GPU memoryfts_total_vector_indexes_in_cpu- total number of segmented vector indexes currently loaded in CPU memory