Deep Dive into Thanos-Part I

Pavan Kumar
Nerd For Tech
Published in
6 min readMay 8, 2021

--

Monitoring Kubernetes Workloads with Thanos and Prometheus Operator

Are your applications running on Kubernetes? Is it highly scalable and you are happy with the way it works? Wait a minute, How are you monitoring them? Ahh, Prometheus Right? Cool, Did you ever wonder how scalable and Highly available your Prometheus Cluster Is? Before that, here is a mail from your boss asking you to find out the number of http_requests that your website received last Xmas or Let's make this the Indian Style. Your boss wants to know the number of customers who had visited your website ( total number of http_requests ) the last Sankranthi ( An year ago ). Now you tried accessing your Prometheus / Grafana servers. You just realized that the metrics are not found. What do you tell your boss now? Well before this situation actually arises let us try to fix this by using Thanos. Thanos is a tool to set up a Highly Available Prometheus with long-term storage capabilities. Thanos is Open Source and is a CNCF Incubating Project. The features of Thanos are

  1. Unlimited retention of Prometheus metrics within the Supported Object stores like GCS, S3, Azure Blob, Swift, and Tencent COS.
  2. Global Query view helps us to view the metrics from multiple Prometheus Instances spawned across various namespaces and various clusters.
  3. It is compatible with your existing monitoring tools like Prometheus and Grafana.
  4. Downsample historical data for massive query speedup when querying large time ranges or…

--

--

Pavan Kumar
Nerd For Tech

Senior Cloud DevOps Engineer || CKA | CKS | CSA | CRO | AWS | ISTIO | AZURE | GCP | DEVOPS Linkedin:https://www.linkedin.com/in/pavankumar1999/