Chuyển đến nội dung
Skillpedia
Cơ sở dữ liệu40k · #7358

qdrant-monitoring-setup

Skill này làm gì

Hướng dẫn này giúp bạn thiết lập giám sát Qdrant. Nội dung bao gồm thu thập chỉ số bằng Prometheus, cấu hình kiểm tra sức khỏe, giám sát Qdrant Hybrid Cloud, thiết lập cảnh báo và tập trung nhật ký.

Khi nào nên dùng

  • ✓Khi bạn thiết lập thu thập chỉ số lần đầu.
  • ✓Khi bạn muốn đảm bảo ứng dụng khỏe mạnh bằng các probe.
  • ✓Khi bạn cần tập trung nhật ký để kiểm toán và tuân thủ quy định.

Liên kết skill

https://github.com/github/awesome-copilot/blob/main/skills/qdrant-monitoring/setup/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/github/awesome-copilot/blob/main/skills/qdrant-monitoring/setup/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Làm thế nào để thiết lập giám sát Qdrant với Prometheus và Grafana?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Hướng dẫn chỉ bạn cách thiết lập Prometheus để thu thập chỉ số, sau đó cấu hình các probe kiểm tra trạng thái, và cuối cùng thiết lập cảnh báo cũng như tập trung nhật ký.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

How to Set Up Qdrant Monitoring

Get Prometheus scraping working first, then health probes, then alerting. Do not skip monitoring setup before going to production.

Prometheus Metrics

Use when: setting up metric collection for the first time or adding a new deployment.

  • Node metrics at /metrics endpoint Monitoring docs
  • Cluster metrics at /sys_metrics (Qdrant Cloud only)
  • Prefix customization via service.metrics_prefix config or QDRANT__SERVICE__METRICS_PREFIX env var
  • Example self-hosted setup with Prometheus + Grafana prometheus-monitoring repo

Hybrid Cloud Scraping

Use when: running Qdrant Hybrid Cloud and need cluster-level visibility.

Do not just scrape Qdrant nodes. In Hybrid Cloud, you manage the Kubernetes data plane. You must also scrape the cluster-exporter and operator pods for full cluster visibility and operator state.

Liveness and Readiness Probes

Use when: configuring Kubernetes health checks.

Alerting

Use when: setting up alerts for production or Hybrid Cloud deployments.

  • Hybrid Cloud provides ~11 pre-configured Prometheus alerts out of the box Cloud cluster monitoring
  • Use AlertmanagerConfig to route alerts to Slack, PagerDuty, or other targets based on labels
  • At minimum, alert on: optimizer errors, node not ready, replication factor below target, disk usage >80%

Log Centralization and Audit Logging

Use when: enterprise compliance requires centralized logs or audit trails.

  • Enable JSON log format for structured analysis: set logger.format to json in config Configuration
  • Use FluentD/OpenSearch for log aggregation
  • Audit logs (v1.17+) write to local filesystem (/qdrant/storage/audit/), not stdout. Mount a Persistent Volume and deploy a sidecar container to tail these files to stdout so DaemonSets can pick them up. Audit logging

What NOT to Do

  • Scrape /sys_metrics on self-hosted (only available on Qdrant Cloud)
  • Scrape only Qdrant nodes in Hybrid Cloud (miss cluster-exporter and operator metrics)
  • Skip monitoring setup before going to production (you will regret it)
  • Alert on page cache memory usage (it's supposed to fill available RAM, normal OS behavior)
Câu hỏi thường gặp

“Health probes” là gì?

Đây là các kiểm tra tự động cho biết Qdrant có đang chạy không (liveness) và đã sẵn sàng xử lý yêu cầu chưa (readiness).

Qdrant Hybrid Cloud là gì?

Đây là phiên bản Qdrant chạy trong các môi trường như Kubernetes, cần giám sát rộng hơn bao gồm cả các thành phần bổ sung.

Nhật ký kiểm toán (audit logs) được lưu ở đâu?

Trong các phiên bản gần đây, nhật ký kiểm toán được lưu trong hệ thống file cục bộ của Qdrant, không đưa trực tiếp ra đầu ra chuẩn.

Chi tiết

Mô tả gốc của tác giả

Guides Qdrant monitoring setup including Prometheus scraping, health probes, Hybrid Cloud metrics, alerting, and log centralization. Use when someone asks 'how to set up monitoring', 'Prometheus config', 'Grafana dashboard', 'health check endpoints', 'how to scrape Hybrid Cloud', 'what alerts to set', 'how to centralize logs', or 'audit logging'.

repo: github/awesome-copilot

Độ phổ biến

Sao GitHub
40k
Vị trí xếp hạng
#7358
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự