New to Claude Skills? Learn how to install them →

github on GitHub

Qdrant Monitoring Debugging

OfficialFree

Diagnose Qdrant production issues effectively.

by github37.7k stars on github/awesome-copilot
1 views
Updated Aug 10, 2026
Get this skill

Free · Opens the source repo

What Qdrant Monitoring Debugging does

The Qdrant Monitoring Debugging skill provides a structured approach to diagnosing performance issues in Qdrant, a vector search engine. It is particularly useful for developers and engineers who need to troubleshoot common problems such as slow queries, high memory usage, and optimizer issues. By following the outlined metrics and observability tools, users can identify the root causes of performance degradation and take appropriate action.

This skill emphasizes the importance of checking the optimizer status as many production issues stem from active optimizations competing for resources. The first step in debugging is to assess whether the optimizer is stuck or too slow, using the provided API endpoints to gather detailed information about ongoing optimizations. If the optimizer is functioning correctly, users are guided to monitor memory usage and query performance metrics, which can reveal underlying issues affecting the overall system performance.

The skill also highlights common pitfalls to avoid during the debugging process, such as making configuration changes while optimizations are running or ignoring the optimizer status when diagnosing slow queries. By adhering to these guidelines, users can streamline their troubleshooting efforts and maintain optimal performance in their Qdrant deployments. This skill is ideal for anyone working with Qdrant in production environments, including data engineers, backend developers, and system administrators.

When to use it

Use this skill when experiencing issues like slow queries, high memory usage, or optimizer-related errors in Qdrant.

When not to use it

This skill is not suitable for general Qdrant usage or for users who are not facing specific performance issues.

What you can build with it

Diagnosing Slow Queries

When queries return slower than expected, use the skill to analyze response metrics and identify bottlenecks.

Monitoring Memory Usage

If you notice high memory consumption or OOM crashes, this skill guides you through checking memory metrics and diagnosing the cause.

Checking Optimizer Status

When an optimizer appears stuck or is taking too long, the skill provides steps to verify its status and troubleshoot any issues.

How to install Qdrant Monitoring Debugging

View source

1. Install with the skills CLI

npx skills add github/awesome-copilot/debugging --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by github

How to Debug Qdrant with Metrics

First check optimizer status. Most production issues trace back to active optimizations competing for resources. If optimizer is clean, check memory, then request metrics.

Optimizer Stuck or Too Slow

Use when: optimizer running for hours, not finishing, or showing errors.

  • Use /collections/{collection_name}/optimizations endpoint (v1.17+) to check status Optimization monitoring
  • Query with optional detail flags: ?with=queued,completed,idle_segments
  • Returns: queued optimizations count, active optimizer type, involved segments, progress tracking
  • Web UI has an Optimizations tab with timeline view and per-task duration metrics Web UI
  • If optimizer_status shows an error in collection info, check logs for disk full or corrupted segments
  • Large merges and HNSW rebuilds legitimately take hours on big datasets. Check progress before assuming it's stuck.

Memory Seems Too High

Use when: memory exceeds expectations, node crashes with OOM, or memory keeps growing.

  • Process memory metrics available via /metrics (RSS, allocated bytes, page faults)
  • Qdrant uses two types of RAM: resident memory (data structures, quantized vectors) and OS page cache (cached disk reads). Page cache filling available RAM is normal. Memory article
  • If resident memory (RSSAnon) exceeds 80% of total RAM, investigate
  • Check /telemetry for per-collection breakdown of point counts and vector configurations
  • Estimate expected memory: num_vectors * dimensions * 4 bytes * 1.5 for vectors, plus payload and index overhead Capacity planning
  • Common causes of unexpected growth: quantized vectors with always_ram=true, too many payload indexes, large max_segment_size during optimization

Queries Are Slow

Use when: queries slower than expected and you need to identify the cause.

  • Track rest_responses_avg_duration_seconds and rest_responses_max_duration_seconds per endpoint
  • Use histogram metric rest_responses_duration_seconds (v1.8+) for percentile analysis in Grafana
  • Equivalent gRPC metrics with grpc_responses_ prefix
  • Check optimizer status first. Active optimizations compete for CPU and I/O, degrading search latency.
  • Check segment count via collection info. Too many unmerged segments after bulk upload causes slower search.
  • Compare filtered vs unfiltered query times. Large gap means missing payload index. Payload index

What NOT to Do

  • Ignore optimizer status when debugging slow queries (most common root cause)
  • Assume memory leak when page cache fills RAM (normal OS behavior)
  • Make config changes while optimizer is running (causes cascading re-optimizations)
  • Blame Qdrant before checking if bulk upload just finished (unmerged segments)

Frequently asked questions about Qdrant Monitoring Debugging

Similar skills