Record the actual values for the SQL calls

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

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
java, sql

调研方向

未指定文件、测试或入口点;首先定位 Java agent 的 SQL 调用捕获路径,并检查参数化调用是如何表示的。完成的标准是:能够记录 SQL 调用的实际参数值,同时避免为常规捕获带来强制性开销。

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

描述

Currently SQL queries are captured without the actual values passed, for example:

    {
      "event": "call",
      "id": 113921,
      "sql_query": {
        "database_type": "H2",
        "sql": "insert into owners (address,city,first_name,last_name,telephone,id) values (?,?,?,?,?,default)"
      },
      "thread_id": 1
    },

Note that the values passed as parameters are not recorded. While the overhead might be prohibitive to enable this in general case, it might be very useful to capture this data to debug specific problems.

主要语言
Java
星标
88
派生
17
平均合并
2 天 2 小时
30 天内合并 PR
1

贡献指南

打开贡献指南

从这里开始

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

getappmap/appmap-java 的其他 Issue

查看 getappmap/appmap-java 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

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