bart omiej p otka tom wilkie promcon 2019 started by
play

& Bartomiej Potka & Tom Wilkie PromCon 2019 Started by - PowerPoint PPT Presentation

Two Households, Both Alike in Dignity & Bartomiej Potka & Tom Wilkie PromCon 2019 Started by Fabian Reinartz and Bartomiej Potka on Dec 2017 Joined CNCF sandbox in Aug 2019 https://thanos.io Started by Tom Wilkie and Julius


  1. Two Households, Both Alike in Dignity & Bartłomiej Płotka & Tom Wilkie PromCon 2019

  2. Started by Fabian Reinartz and Bartłomiej Płotka on Dec 2017 Joined CNCF sandbox in Aug 2019 https://thanos.io Started by Tom Wilkie and Julius Volz in June 2016 Joined CNCF sandbox Sept 2018 https://github.com/cortexproject/cortex

  3. When monitoring a global fleet with Prometheus, I need... 1. Global View 2. Multi-Replica Prometheus (HA) 3. Long Term Storage

  4. #1 Global View Queries over data from multiple Prometheus servers

  5. Thanos: Fanout Queries us-west us-east pull eu-west #1 Prometheus in #2 Stateless Querier #3 Queries see all each remote cluster anywhere fanouts data. has Thanos sidecar. query to certain Prometheuses.

  6. Cortex: Centralised Data us-west us-east push eu-west #1 Prometheus in #2 Scalable Cortex #3 Queries go to separate clusters cluster stores metrics central cluster, cover remote writes from multiple all data. metrics. Prometheus servers.

  7. Centrally write data to a Data stays in Prometheus; #1 Global View scalable Cortex cluster; Fanout query; query in one place.

  8. #2 Multi-Replica Prometheus (HA) No gaps in the graphs caused by Prometheus server restarts

  9. Thanos: Query time deduplication us-west-a us-west-b #1 Each Prometheus #2 Thanos Querier #3 Queries only ever replica scraping the resolve gaps in query see a single version of same targets has time. each series. Thanos sidecar.

  10. Cortex: Resolve Gaps at Write Time us-west-a us-west-b #1 Both Prometheus #2 Cortex dedupes #3 Queries only ever instances in each samples on ingestion, see a single version of cluster remote-write only storing data from a each series. metrics to Cortex. single Prometheus.

  11. Centrally write data to a Data stays in Prometheus; #1 Global View scalable Cortex cluster; Fanout query; query in one place. #2 Multi-Replica Resolve gaps at query time; Resolve gaps at write time; Prometheus (HA) only renders single series only store single series.

  12. #3 Long Term Storage Store data for long term analysis

  13. Thanos: TSDB blocks in object store #3 Queriers have access to both fresh and old data #1 Sidecar syncs TSDB blocks with Object Storage #2 Thanos allows browsing uploaded blocks, compacting index and downsampling

  14. Cortex: NOSQL index & chunks #1 Samples from #3 Queries use the Prometheus are index in NOSQL to batched up into XOR find relevant chunks, Chunks in Cortex. with heavy use of caches. #2 Chunks are periodically flushed to an object store, and an inverted index over the chunks is written to a NOSQL database.

  15. Centrally write data to a Data stays in Prometheus; #1 Global View scalable Cortex cluster; Fanout query; query in one place. #2 Multi-Replica Resolve gaps at query time; Resolve gaps in write time; Prometheus (HA) only renders single series only store single series. TSDB blocks in object NOSQL for index & chunks #3 Long Term Storage storage in object storage

  16. Future

  17. Increased Collaboration (I) https://grafana.com/blog/2019/09/19/how-to-get-blazin-fast-promql/ Cortex query-frontend can be put in front of Thanos to accelerate queries using parallelisation and caching.

  18. Increased Collaboration (II) https://github.com/cortexproject/cortex/pull/1695 Cortex now embeds Thanos’s code to read & write blocks from object store for LTS, reduced dependencies and TCO.

  19. Thanks! Questions? https://thanos.io https://github.com/cortexproject/cortex

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend