feat(boto3): Add DynamoDB service extension
@pabloDeputter 已经在做这个了。
开始于 2026年9月21日。
评估
这个 Issue 还没有评估数据。
描述
db.system.namemust be set toaws.dynamodband should be provided at span creation time.- origin must be set to
auto.db.boto3for any DynamoDB span. - operation must be set to
db - OTel semconv. may be outdated since there are quite a few new attributes in DynamoDB that are not in OTel yet.
- We support the following operations and attributes:
DynamoDB.BatchGetItemaws.dynamodb.consumed_capacity— JSON-serialized items from the responseConsumedCapacityfield.aws.dynamodb.table_names— extracted from the keys of the requestRequestItemsobject.
DynamoDB.BatchWriteItemaws.dynamodb.consumed_capacity— JSON-serialized items from the responseConsumedCapacityfield.aws.dynamodb.item_collection_metrics— JSON-serialized value of the responseItemCollectionMetricsfield.aws.dynamodb.table_names— extracted from the keys of the requestRequestItemsobject.
DynamoDB.CreateTableaws.dynamodb.consumed_capacity— JSON-serialized items from the responseConsumedCapacityfield.aws.dynamodb.global_secondary_indexes— JSON-serialized items from the requestGlobalSecondaryIndexesfield.aws.dynamodb.item_collection_metrics— JSON-serialized value of the responseItemCollectionMetricsfield.aws.dynamodb.local_secondary_indexes— JSON-serialized items from the requestLocalSecondaryIndexesfield.aws.dynamodb.provisioned_read_capacity— extracted from the requestProvisionedThroughput.ReadCapacityUnitsparameter.aws.dynamodb.provisioned_write_capacity— extracted from the requestProvisionedThroughput.WriteCapacityUnitsparameter.aws.dynamodb.table_names— a single-element array containing the requestTableNameparameter.
DynamoDB.DeleteItemaws.dynamodb.consumed_capacity— JSON-serialized items from the responseConsumedCapacityfield.aws.dynamodb.item_collection_metrics— JSON-serialized value of the responseItemCollectionMetricsfield.aws.dynamodb.table_names— a single-element array containing the requestTableNameparameter.
DynamoDB.DeleteTableaws.dynamodb.table_names— a single-element array containing the requestTableNameparameter.
DynamoDB.DescribeTableaws.dynamodb.table_names— a single-element array containing the requestTableNameparameter.
DynamoDB.GetItemaws.dynamodb.consistent_read— the requestConsistentReadparameter.aws.dynamodb.consumed_capacity— JSON-serialized items from the responseConsumedCapacityfield.aws.dynamodb.projection— the requestProjectionExpressionparameter.aws.dynamodb.table_names— a single-element array containing the requestTableNameparameter.
DynamoDB.ListTablesaws.dynamodb.exclusive_start_table— the requestExclusiveStartTableNameparameter.aws.dynamodb.limit— the requestLimitparameter.aws.dynamodb.table_count— derived from the number of items in the responseTableNamesparameter.
DynamoDB.PutItemaws.dynamodb.consumed_capacity— JSON-serialized items from the responseConsumedCapacityfield.aws.dynamodb.item_collection_metrics— JSON-serialized value of the responseItemCollectionMetricsfield.aws.dynamodb.table_names— extracted from the keys of the requestRequestItemsobject. See note below.
DynamoDB.Queryaws.dynamodb.attributes_to_get— the requestAttributesToGetparameter. NOT YET ADDED TO SENTRY SEM-CONV.aws.dynamodb.consistent_read— the requestConsistentReadparameter.aws.dynamodb.consumed_capacity— JSON-serialized items from the responseConsumedCapacityfield.aws.dynamodb.index_name— the requestIndexNameparameter.aws.dynamodb.limit— the requestLimitparameter.aws.dynamodb.projection— the requestProjectionExpressionparameter.aws.dynamodb.scan_forward— the requestScanIndexForwardparameter.aws.dynamodb.select— the requestSelectparameter.aws.dynamodb.table_names— a single-element array containing the requestTableNameparameter.
DynamoDB.Scanaws.dynamodb.attributes_to_get— the requestAttributesToGetparameter. NOT YET ADDED TO SENTRY SEM-CONV.- deemed legacy by AWS; replaced by
ProjectExpressioninstead; not sure which one to use yet - https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributesToGet.html#ProjectionExpression.instead
- deemed legacy by AWS; replaced by
aws.dynamodb.consistent_read— the requestConsistentReadparameter.aws.dynamodb.consumed_capacity— JSON-serialized items from the responseConsumedCapacityfield.aws.dynamodb.count— the responseCountparameter.aws.dynamodb.index_name— the requestIndexNameparameter.aws.dynamodb.limit— the requestLimitparameter.aws.dynamodb.projection— the requestProjectionExpressionparameter.aws.dynamodb.scanned_count— the responseScannedCountparameter.aws.dynamodb.segment— the requestSegmentparameter.aws.dynamodb.select— the requestSelectparameter.aws.dynamodb.table_names— a single-element array containing the requestTableNameparameter.aws.dynamodb.total_segments— the requestTotalSegmentsparameter.
DynamoDB.UpdateItemaws.dynamodb.consumed_capacity— JSON-serialized items from the responseConsumedCapacityfield.aws.dynamodb.item_collection_metrics— JSON-serialized value of the responseItemCollectionMetricsfield.aws.dynamodb.table_names— a single-element array containing the requestTableNameparameter.
DynamoDB.UpdateTableaws.dynamodb.attribute_definitions— JSON-serialized items from the requestAttributeDefinitionsfield.aws.dynamodb.consumed_capacity— JSON-serialized items from the responseConsumedCapacityfield.aws.dynamodb.global_secondary_index_updates— JSON-serialized items from the requestGlobalSecondaryIndexUpdatesfield.aws.dynamodb.provisioned_read_capacity— extracted from the requestProvisionedThroughput.ReadCapacityUnitsparameter.aws.dynamodb.provisioned_write_capacity— extracted from the requestProvisionedThroughput.WriteCapacityUnitsparameter.aws.dynamodb.table_names— a single-element array containing the requestTableNameparameter.
- 主要语言
- Python
- 星标
- 2.2k
- 派生
- 672
- 平均合并
- 22 小时 47 分钟
- 30 天内合并 PR
- 224
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
getsentry/sentry-python 的其他 Issue
-
Python
难度 2/5 1-3 小时 新手友好度 65/100
getsentry/sentry-python#7569 · 1 条评论 ·
-
Python
难度 1/5 1 小时以内 新手友好度 85/100
getsentry/sentry-python#7568 · 2 条评论 ·
-
Python
难度 2/5 1-3 小时 新手友好度 65/100
getsentry/sentry-python#7567 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
getsentry/sentry-python#7543 · 2 条评论 · 已指派 1 人 ·
-
Python
难度 2/5 1-3 小时 新手友好度 68/100
getsentry/sentry-python#6992 · 1 条评论 ·
查看 getsentry/sentry-python 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
anthropics/skills#1811 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
speaches-ai/speaches#678 ·
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
datalayer/mcp-compose#42 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
conda-forge/spacy-feedstock#177 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
UKGovernmentBEIS/inspect_evals#2523 ·