跳到正文
Skillpedia
数据库40k · #7358

qdrant-monitoring-setup

它能做什么

本指南帮助你搭建 Qdrant 监控。内容包括使用 Prometheus 收集指标、配置健康检查、监控 Qdrant Hybrid Cloud、设置告警,以及集中管理日志。

适用场景

  • ✓第一次设置指标收集时。
  • ✓使用探针确保你的应用运行健康时。
  • ✓为了审计和合规而集中管理日志时。

技能链接

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

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/github/awesome-copilot/blob/main/skills/qdrant-monitoring/setup/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我该如何用 Prometheus 和 Grafana 搭建 Qdrant 监控?”

每周 5 个新技能,1 分钟读完。

工作原理

指南会一步步带你设置 Prometheus 来收集指标,然后配置健康探针来检查运行状态,最后设置告警并集中管理日志。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

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)
常见问题

什么是“健康探针”?

这是自动检查机制,用来判断 Qdrant 是否在运行(存活探测),以及是否已经准备好处理请求(就绪探测)。

什么是 Qdrant Hybrid Cloud?

它是运行在 Kubernetes 等环境中的 Qdrant 版本,需要更全面的监控,包括一些额外的组件。

审计日志存放在哪里?

在较新的版本中,审计日志会保存到 Qdrant 的本地文件系统,而不是直接输出到标准输出。

详情

作者的原始描述

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

热度

GitHub 星标
40k
排名
#7358
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能