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

feat(boto3): Add DynamoDB service extension

未关闭
#7,555 1 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@pabloDeputter 已经在做这个了。

开始于 2026年9月21日。

评估

这个 Issue 还没有评估数据。

描述

Feature Integration: Boto3 Python Traces
  • db.system.name must be set to aws.dynamodb and should be provided at span creation time.
  • origin must be set to auto.db.boto3 for 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.BatchGetItem
      • aws.dynamodb.consumed_capacity — JSON-serialized items from the response ConsumedCapacity field.
      • aws.dynamodb.table_names — extracted from the keys of the request RequestItems object.
    • DynamoDB.BatchWriteItem
      • aws.dynamodb.consumed_capacity — JSON-serialized items from the response ConsumedCapacity field.
      • aws.dynamodb.item_collection_metrics — JSON-serialized value of the response ItemCollectionMetrics field.
      • aws.dynamodb.table_names — extracted from the keys of the request RequestItems object.
    • DynamoDB.CreateTable
      • aws.dynamodb.consumed_capacity — JSON-serialized items from the response ConsumedCapacity field.
      • aws.dynamodb.global_secondary_indexes — JSON-serialized items from the request GlobalSecondaryIndexes field.
      • aws.dynamodb.item_collection_metrics — JSON-serialized value of the response ItemCollectionMetrics field.
      • aws.dynamodb.local_secondary_indexes — JSON-serialized items from the request LocalSecondaryIndexes field.
      • aws.dynamodb.provisioned_read_capacity — extracted from the request ProvisionedThroughput.ReadCapacityUnits parameter.
      • aws.dynamodb.provisioned_write_capacity — extracted from the request ProvisionedThroughput.WriteCapacityUnits parameter.
      • aws.dynamodb.table_names — a single-element array containing the request TableName parameter.
    • DynamoDB.DeleteItem
      • aws.dynamodb.consumed_capacity — JSON-serialized items from the response ConsumedCapacity field.
      • aws.dynamodb.item_collection_metrics — JSON-serialized value of the response ItemCollectionMetrics field.
      • aws.dynamodb.table_names — a single-element array containing the request TableName parameter.
    • DynamoDB.DeleteTable
      • aws.dynamodb.table_names — a single-element array containing the request TableName parameter.
    • DynamoDB.DescribeTable
      • aws.dynamodb.table_names — a single-element array containing the request TableName parameter.
    • DynamoDB.GetItem
      • aws.dynamodb.consistent_read — the request ConsistentRead parameter.
      • aws.dynamodb.consumed_capacity — JSON-serialized items from the response ConsumedCapacity field.
      • aws.dynamodb.projection — the request ProjectionExpression parameter.
      • aws.dynamodb.table_names — a single-element array containing the request TableName parameter.
    • DynamoDB.ListTables
      • aws.dynamodb.exclusive_start_table — the request ExclusiveStartTableName parameter.
      • aws.dynamodb.limit — the request Limit parameter.
      • aws.dynamodb.table_count — derived from the number of items in the response TableNames parameter.
    • DynamoDB.PutItem
      • aws.dynamodb.consumed_capacity — JSON-serialized items from the response ConsumedCapacity field.
      • aws.dynamodb.item_collection_metrics — JSON-serialized value of the response ItemCollectionMetrics field.
      • aws.dynamodb.table_names — extracted from the keys of the request RequestItems object. See note below.
    • DynamoDB.Query
      • aws.dynamodb.attributes_to_get — the request AttributesToGet parameter. NOT YET ADDED TO SENTRY SEM-CONV.
      • aws.dynamodb.consistent_read — the request ConsistentRead parameter.
      • aws.dynamodb.consumed_capacity — JSON-serialized items from the response ConsumedCapacity field.
      • aws.dynamodb.index_name — the request IndexName parameter.
      • aws.dynamodb.limit — the request Limit parameter.
      • aws.dynamodb.projection — the request ProjectionExpression parameter.
      • aws.dynamodb.scan_forward — the request ScanIndexForward parameter.
      • aws.dynamodb.select — the request Select parameter.
      • aws.dynamodb.table_names — a single-element array containing the request TableName parameter.
    • DynamoDB.Scan
      • aws.dynamodb.attributes_to_get — the request AttributesToGet parameter. NOT YET ADDED TO SENTRY SEM-CONV.
      • aws.dynamodb.consistent_read — the request ConsistentRead parameter.
      • aws.dynamodb.consumed_capacity — JSON-serialized items from the response ConsumedCapacity field.
      • aws.dynamodb.count — the response Count parameter.
      • aws.dynamodb.index_name — the request IndexName parameter.
      • aws.dynamodb.limit — the request Limit parameter.
      • aws.dynamodb.projection — the request ProjectionExpression parameter.
      • aws.dynamodb.scanned_count — the response ScannedCount parameter.
      • aws.dynamodb.segment — the request Segment parameter.
      • aws.dynamodb.select — the request Select parameter.
      • aws.dynamodb.table_names — a single-element array containing the request TableName parameter.
      • aws.dynamodb.total_segments — the request TotalSegments parameter.
    • DynamoDB.UpdateItem
      • aws.dynamodb.consumed_capacity — JSON-serialized items from the response ConsumedCapacity field.
      • aws.dynamodb.item_collection_metrics — JSON-serialized value of the response ItemCollectionMetrics field.
      • aws.dynamodb.table_names — a single-element array containing the request TableName parameter.
    • DynamoDB.UpdateTable
      • aws.dynamodb.attribute_definitions — JSON-serialized items from the request AttributeDefinitions field.
      • aws.dynamodb.consumed_capacity — JSON-serialized items from the response ConsumedCapacity field.
      • aws.dynamodb.global_secondary_index_updates — JSON-serialized items from the request GlobalSecondaryIndexUpdates field.
      • aws.dynamodb.provisioned_read_capacity — extracted from the request ProvisionedThroughput.ReadCapacityUnits parameter.
      • aws.dynamodb.provisioned_write_capacity — extracted from the request ProvisionedThroughput.WriteCapacityUnits parameter.
      • aws.dynamodb.table_names — a single-element array containing the request TableName parameter.
主要语言
Python
星标
2.2k
派生
672
平均合并
22 小时 47 分钟
30 天内合并 PR
224

贡献指南

打开贡献指南

从这里开始

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

getsentry/sentry-python 的其他 Issue

查看 getsentry/sentry-python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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