I want to ask tenant-1 should be matched to value of X-Scope-Org-Id when it is used at pushed to api ?
The documentation uses numbers such as 29 and 30 as keys, but I could not figure out what these values are based on.
@tonyswumac Thanks your reply!
I understand key’s value. But It seemed that index and chunk data of tenant-1, tenant-2 are not deleted after 24h.
Do you have any idea what the cause might be?
Don’t see anything obvious. According to your configuration chunks should be deleted roughly after 26 hours. If they are not, check and make sure your compactor is actually reading the correct config file. Check the logs too and see if there is anything obvious there.
I observed state of chunks and index for a while, and then I confirmed the indexes were deleted by compactor. But chunks were not deleted yet.
does limits_config’s overrides configuration not apply rule to chunks?
I figured out this phenomenon that I seemed chunks are not deleted.
Let me get to the straight point, the cause is I restarted loki-write and loki-read pods after configured limits_config soon.
So maybe the marker it points to chunks should be deleted was deleted from pods I think.
I confirmed S3 storage directory has chunks data, then some chunks created when after restarted pods were deleted.
And not deleted chunks were created when before restarted pods.
Thank you @tonyswumac . I solved my question completely.