Closed
Description
Component(s)
exporter/awss3
What happened?
Description
In v0.115.0 the aws s3 exporter uploads files to a path like:
s3://sniffler-l4hsf/year=2025/month=01/day=10/hour=00/minute=05/traces_760872934.json
In v0.117.0 paths have an extra "/" prefix:
s3://sniffler-l4hsf//year=2025/month=01/day=15/hour=14/minute=55/traces_948440739.json
This leads to files not being available in the expected place. I suspecte that this was introduced in: #36698
Steps to Reproduce
Configure exporter to ship to S3 on the two different versions.
Expected Result
Paths do not have an extra "/"
Actual Result
Paths have an extra "/"
Collector version
v0.117.0
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")
OpenTelemetry Collector configuration
Log output
Additional context
No response