Thanos Store
Thanos Store is perhaps the simplest Thanos component in terms of usage. There is not too much to tweak or tune and it does not require much in terms of resources. It is effectively stateless, although you can use persistent storage with it to reduce startup time as it populates metadata about the available blocks in object storage. We’ll get into some ways that you can horizontally scale it later, but for now, let’s just focus on what it is and how to deploy it.
Thanos Store is another component that implements the StoreAPI, so you can use Thanos Query to pull data from it. Thanos Store’s purpose is to function as a gateway to object storage, which is why you may sometimes see it referred to as the “Store Gateway.”
When Thanos Sidecar uploads blocks and when Thanos Compactor operates on them, they update the meta.json
file within that block (see Chapter 3 for more information on that file) with a new thanos
section. Thanos Store...