-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
S3 exporter: endpoint documentation / bucket #32774
Comments
Pinging code owners for exporter/awss3: @atoulme @pdelewski. See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This is because in some cases (minIO, storJ) I believe the endpoint can be completely different from what s3 expects, and the bucket is dropped. Yes, we can make bucket required only if endpoint is not set. |
… S3 bucket (#32815) **Description:** Discussion: #32766. Configuration logic: - An endpoint is provided, and Region still needs to be provided (as per the AWS SDK Go config, even though the region can be included in the endpoint itself). The S3 bucket name is optional. - An endpoint is not provided, thus region **and** S3 bucket name should be provided (return an error for each if one of those 2 isn't) **Link to tracking Issue:** #32774
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
I think this was addressed by #32815. Closing. |
Discussed in #32766
Originally posted by dabcoder April 30, 2024
The S3 exporter documentation states that the
endpoint
parameter overrides the endpoint used by the exporter instead of constructing it fromregion
ands3_bucket
.Yet in the code there is:
However, when the
endpoint
is provided, it should also contain the S3 bucket, thus I would not expect thes3_bucket
to have to be provided and this error to be returned. Am I misunderstanding the config setup here?The text was updated successfully, but these errors were encountered: