Skip to content

feat(boto3): Add S3 service extension #7576

Description

@pabloDeputter
  • add the following service-specific attributes:
    • aws.s3.bucket required in almost all s3 operations except list-buckets.
    • http.response.body.size which is the number of bytes in the payload.
  • add the following OTel attributes that are NOT yet in sentry-conventions:
    • aws.s3.copy_source
    • aws.s3.delete
    • aws.s3.key
    • aws.s3.part_number
    • aws.s3.upload_id
    • aws.s3.object_size (not in OTel) which is the total size of the s3 object itself.
      • extracted from ContentLength on GetObject and HeadObject responses; ObjectSize on GetObjectAttributes, and ContentLength on PutObject requests. For ranged GetObject or HeadObject calls, ContentLength is the used size.
  • more information where these parameters can be found/extracted from in https://opentelemetry.io/docs/specs/semconv/object-stores/s3/ & https://opentelemetry.io/docs/specs/semconv/registry/attributes/aws/#amazon-s3-attributes

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions