-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Open
Labels
Description
Component(s)
exporter/awss3
What happened?
Description
https://github.com/open-telemetry/opentelemetry-collector-contrib/blame/main/exporter/awss3exporter/config.go#L107C2-L107C21 has a list of valid storage classes.
Steps to Reproduce
Try some newer storage classes like GLACIER_IR
Expected Result
Everything works
Actual Result
│ Error: invalid configuration: exporters::awss3: invalid StorageClass
Collector version
0.147.0
Environment information
No response
OpenTelemetry Collector configuration
Log output
Additional context
I'm not sure why we need a hard-coded list of valid storage classes in the first place. The AWS SDK should handle this: https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/s3/types#StorageClass
Tip
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.
Reactions are currently unavailable