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

Grafana Tempoo with Storage at S3 #2099

Closed
JalisDiehl opened this issue Feb 9, 2023 · 3 comments
Closed

Grafana Tempoo with Storage at S3 #2099

JalisDiehl opened this issue Feb 9, 2023 · 3 comments

Comments

@JalisDiehl
Copy link

We are installing our Grafana Tempo in a local kubernetes cluster and trying to storage jaeger traces to s3 to query longer traces and use TraceQL. However when we try to request to out s3 we got some error the first one was:
│ level=error ts=2023-02-09T21:42:42.950354002Z caller=main.go:117 msg="error running Tempo" err="failed to init module services error initialising module: store: failed to create store un │ │ expected error from ListObjects on /plataform-monit-xptoxxxxxxxxxxxxxx-nprod-4/nprod/traces-parquet-tempo/: Bucket name cannot be longer than 63 characters"

Already we try to shortcut our bucket a bit with:

/plataform-monit-xptoxxxxxxxxxxxxxx-nprod-4/nprod/parquet/
but we got error like this:

caller=main.go:117 msg="error running Tempo" err="failed to init module services error initialising module: store: failed to create store un │ │ expected error from ListObjects on /plataform-monit-xptoxxxxxxxxxxxxxx-nprod-4/nprod/parquet/: Bucket name contains invalid characters"

This s3 is local and with many application using different path for this reason we need to put /
That's our settings for storage:

> storage:
>   trace:
>     backend: "s3"
>     s3:
>       access_key: <access-key>
>       bucket: /plataform-monit-xptoxxxxxxxxxxxxxx-nprod-4/nprod/parquet/
>       endpoint: s3.local.net
>       insecure_skip_verify: true
>       secret_key: <secret-key>
@mapno
Copy link
Member

mapno commented Feb 10, 2023

Hi! Bucket names with / are not allowed per S3's bucket naming rules.

If you are trying to access a subfolder within a bucket the proper syntax to do so would be to specify the subfolder within the key value. Unfortunately, from what I've checked, it's not possible to configure Tempo to access a specific folder within an S3 bucket to use as its root folder. I'll open an issue for it, it'll be nice to have.

@mapno
Copy link
Member

mapno commented Feb 10, 2023

Here is the issue: #2100

@joe-elliott
Copy link
Member

Closing this since it seems to be covered by #2100. Thanks for filing the issue @JalisDiehl

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

3 participants