I am not very knowledgable in the source code, but I believe you’d want to look at the chunk client code, specifically loki/pkg/storage/chunk/client/object_client.go at main · grafana/loki · GitHub.
I am not very knowledgable in the source code, but I believe you’d want to look at the chunk client code, specifically loki/pkg/storage/chunk/client/object_client.go at main · grafana/loki · GitHub.