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
Feature: allow to configure s3 subpath #1682
Comments
I think that's doable and a reasonable request. We already have some abstractions for bucket prefixes. I can work on a draft PR to show how it will look like. It will increase config surface and I'll leave the decision of whether that's ok to a maintainer edit: opened #1686 to show how this might be done |
wow, that was fast - thank you so much. should I raise a similar feature request for Loki or would that create duplication? |
The two projects currently don't share the storage layer implementation, so you should open an issue to Loki too. |
Raised grafana/loki#5889 - thank you again for all your work, really appreciate it. |
Hi - I noticed that the slash character is not supported so we can only use one single 'directory' (slightly incorrect terminology in the S3 world) - was wondering if it's a technical limitation or just to keep things simple? Thank you. |
the limitation is enforced by this regex. IIRC it was only to keep things simple. I think this can be extended to support nested prefixes as well without any negative implications. PRs are welcome :) |
Is there any update on this one? |
@rpartapsing this was released in Mimir 2.2. The config parameter is |
@dimitarvdimitrov . I am using
But does not work: I also tried what you suggested:
Then I get: while my resource policy should allow it. (it works e.g. for the blocks if I remove the storage_prefix
|
I don't see anything pointing to the storage prefix feature not working in what you posted. I think opening a discussion here on GitHub or dropping a message in our community slack channel may be better suited for this. |
@dimitarvdimitrov
i would not have to enter any access id/secret. But that doesn't work. |
you can open an issue in this repo and add the |
@dimitarvdimitrov I wasnt able to put the label, But here it is: #4914 |
Is your feature request related to a problem? Please describe.
Currently a full S3 bucket is required for Mimir - however, in some situations a bucket may need to be shared with other apps (one example would be aws lightsail where there's a fixed cost per bucket).
Describe the solution you'd like
Ability to specify a folder where all mimir data will be stored in a bucket
Additional context
This feature request will also apply for Loki but I'm not sure if I should create a (duplicate) issue there as well - so guidance here would be appreciated.
Thank you.
The text was updated successfully, but these errors were encountered: