Thanos tools
In addition to all of the Thanos components we have reviewed thus far, the Thanos CLI also has a thanos tools
sub-command. This contains a variety of helpful tools, primarily for interacting with object storage buckets and the TSDB blocks within them. It also contains a command for validating recording and alerting rules used by Thanos Ruler.
Since these tools are primarily for use in existing, established environments, we won’t cover them individually in this book. Nevertheless, they may be worth experimenting with before cleaning up the Thanos components you’ve deployed in this chapter. Within any of the Thanos pods we deployed in this chapter, you can run thanos tools --help
to see all of the available options.