Skip to content

Add 8.1.0 FTS metrics to search dashboard#141

Open
capemox wants to merge 2 commits intocouchbaselabs:masterfrom
capemox:gpu-fts
Open

Add 8.1.0 FTS metrics to search dashboard#141
capemox wants to merge 2 commits intocouchbaselabs:masterfrom
capemox:gpu-fts

Conversation

@capemox
Copy link
Copy Markdown

@capemox capemox commented Apr 27, 2026

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 process
  • fts_num_cgocalls - total number of CGo calls made by the FTS process since startup
  • fts_heap_alloc - bytes of allocated heap objects currently in use
  • fts_heap_idle - bytes in idle (unused) heap spans
  • fts_heap_inuse - bytes in non-idle heap spans
  • fts_heap_released - bytes of physical memory returned to the OS
  • fts_mallocs - cumulative count of heap objects allocated
  • fts_frees - cumulative count of heap objects freed

Query errors:

  • fts_total_scan_plus_queries_kv_errors - total number of KV errors encountered during scan plus queries

Vector index placement (GPU / CPU):

  • fts_total_vector_indexes_in_gpu - total number of segmented vector indexes currently loaded in GPU memory
  • fts_total_vector_indexes_in_cpu - total number of segmented vector indexes currently loaded in CPU memory

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 27, 2026 15:44
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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>
@capemox capemox changed the title Add GPU/CPU vector index panels to search dashboard Add 8.1.0 FTS metrics to search dashboard Apr 28, 2026
@capemox capemox requested a review from Copilot April 28, 2026 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants