Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Add query timing and debug logging to index execution paths

已关闭
#494 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 4 天内回复

@jackiectl2 已经在做这个了。

开始于 2026年10月8日。

  • #750 来自 @jackiectl2 —— 未关闭

评估

难度
3/5
预计耗时
1-2 天
新手友好度
45/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
python, redis
领域
observability

调研方向

从 redisvl/index/index.py 开始,跟踪同步和异步查询执行路径,记录可以在哪里观察查询类型、耗时和结果数量。完成标准是:两条路径都输出所请求的调试计时数据,慢查询可以触发可选警告,结果保持不变,并且禁用调试日志时只产生可忽略的开销。

由索引模型根据 Issue 内容生成。

描述

enhancement

Summary

Add query timing and debug logging around index execution paths for better observability.

Level: Intermediate

Current State

  • Logging exists in some RedisVL components, but query execution paths are lightly instrumented.
  • Performance triage often requires ad hoc local instrumentation.

Proposed Change

  • Add debug logs for sync/async query execution in redisvl/index/index.py:
    • query category/type
    • elapsed time (ms)
    • result count
  • Add optional slow-query warning threshold.

Definition of Done

  • Query timing appears in debug logs for sync and async paths.
  • No functional behavior changes to query results.
  • Overhead is negligible when debug logging is disabled.

Out of Scope

  • Full tracing backend integration (OpenTelemetry, etc.).
主要语言
Python
星标
432
派生
116
平均合并
5 天 22 小时
30 天内合并 PR
13

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

redis/redis-vl-python 的其他 Issue

查看 redis/redis-vl-python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。