fix(boto3): Set `aws.dynamodb.item_collection_metrics` scrubbing to `auto`

未关闭 适合新手
#8,074 1 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@pabloDeputter 已经在做这个了。

开始于 2026年10月27日。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
67/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
aws, python
领域
backend

调研方向

找到 aws.dynamodb.item_collection_metrics 配置为 apply_scrubbing=manual 的位置,然后检查周围的 DynamoDB scrubbing 设置,以及 db.query.text 或 aws.s3.key 的现有用例。将设置改为 auto,并添加或更新一个针对性测试,展示 ItemCollectionKey 中的分区键值经过 scrubbing;该测试通过后即完成。

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

描述

Improvement Integration: Boto3 Python Traces

Currently, aws.dynamodb.item_collection_metrics is set to apply_scrubbing=manual, but its ItemCollectionKey holds the partition-key value of the written item, e.g. {"customer_id":{"S":"c1"}} which can be an email when it's keyed by this value.

Also matches scrubbing on db.query.text, db.query.parameter.[key], aws.s3.key, aws.s3.copy_source, aws.s3.delete, etc

主要语言
Python
星标
2.2k
派生
698
平均合并
1 天 3 小时
30 天内合并 PR
158

环境准备

从这里开始

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

getsentry/sentry-python 的其他 Issue

查看 getsentry/sentry-python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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