May 2019
Intermediate to advanced
442 pages
11h 36m
English
In Chapter 13, Scaling and Federating Prometheus, we had the chance to explore the Thanos querier and sidecar to solve the global view problem. For this component, the features we covered then will also be used in this chapter. We'll continue using querier to query several StoreAPI endpoints, taking advantage of the deduplication it provides, and using the query API through its web interface.
The configuration that's available in our test environment is quite simple, as we can see in the following snippet, which was taken from the thanos instance:
vagrant@thanos:~$ systemctl cat thanos-query...ExecStart=/usr/bin/thanos query \ --query.replica-label replica \ --store "prometheus:10901" \ --store "thanos:11901" \ --store "thanos:12901" ...
Read now
Unlock full access