Open dgeorges opened 2 months ago
Tempo considers any "folder" in the root of its bucket to be a tenant. There are virtually no restrictions on tenant name so it's quite possible for "_AWSBucketAnalytics" to be a tenant.
One option to work around this would be to use the s3 prefix option:
This issue has been automatically marked as stale because it has not had any activity in the past 60 days. The next time this stale check runs, the stale label will be removed if there is new activity. The issue will be closed after 15 days if there is no new activity. Please apply keepalive label to exempt this Issue.
Describe the bug
When S3 bucket analytics is enable a folder is create at the root of the bucket for the analytics to be written to. In our case it's named the folder is named
_AWSBucketAnalytics/
see. https://docs.aws.amazon.com/AmazonS3/latest/userguide/analytics-storage-class.htmlThis bucket appears in log and many of the tenant metrics such as
tempodb_blocklist_tenant_index_errors_total
,tempodb_blocklist_tenant_index_age_seconds
where is looks like the folder is being treated like a tenant.This is the log statement.
To Reproduce Steps to reproduce the behavior:
Expected behavior
Tempo should be able to determine if a folder is a tenant or not and if not should not log it as such in metrics and logs.
Environment:
Additional Context