Skip to content
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

Ability to set bucket prefix for object storage #4069

Closed
fsiler opened this issue Mar 30, 2025 · 1 comment
Closed

Ability to set bucket prefix for object storage #4069

fsiler opened this issue Mar 30, 2025 · 1 comment

Comments

@fsiler
Copy link

fsiler commented Mar 30, 2025

Is your feature request related to a problem? Please describe.

I am in an environment where it's annoying to create storage buckets. I have observability set up to store related data in a bucket- /observability1/traces, /observability1/metrics, and so on. I need the ability to set Pyroscope to use eg /observability1/pyroscope within a bucket

Describe the solution you'd like

A prefix setting inside the objstore config. Thanos, Tempo, and Loki all support this. I've tried a few iterations and looked through the source, and I don't find where this parameter would be located.

Describe alternatives you've considered

This is just a missing setting, and arguably closer to a bug than a feature request.

Additional context

n/a

@simonswine
Copy link
Contributor

It is possibile today, you might have missed it because it is marked as experimental, I do think we can graduate that bit:

-storage.storage-prefix string
[experimental] Prefix for all objects stored in the backend storage. For simplicity, it may only contain digits and English alphabet letters.

We also recently had a validation bug, and there fore the help message is inaccurate. Will update both shortly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants