Giter Club home page Giter Club logo

Comments (17)

MichaHoffmann avatar MichaHoffmann commented on July 3, 2024

How many blocks do you have? Can you bump to 0.35.0?

from thanos.

sourcehawk avatar sourcehawk commented on July 3, 2024

How many blocks do you have? Can you bump to 0.35.0?

What do you mean by how many blocks?

Bumped thanos versions to 0.35.1, redeployed with all the stores set. The red line that is spiking in the graphs is caused by the EKS node which has storegateway on it:

image

from thanos.

MichaHoffmann avatar MichaHoffmann commented on July 3, 2024

I guess it's fetching block metadata on startup ( the gateway) does it stabilize eventually and is the querier less noisy?

from thanos.

sourcehawk avatar sourcehawk commented on July 3, 2024

It stays that high indefinitely. The fact that it "stabilizes" is not really a good thing when it stays at 500+MB/s bandwidth 😅

from thanos.

MichaHoffmann avatar MichaHoffmann commented on July 3, 2024

Storage gw is also 0.35.0 right?

from thanos.

sourcehawk avatar sourcehawk commented on July 3, 2024

Storage gw is also 0.35.0 right?

Yeah all thanos components are now 0.35.1

from thanos.

MichaHoffmann avatar MichaHoffmann commented on July 3, 2024

How many blocks do you have in object storage roughly? Is your compactor working well?

from thanos.

sourcehawk avatar sourcehawk commented on July 3, 2024

Compactor seems to be doing it's job quite well and there are less than 800 objects reported totaling little under 30GB of data.

image

from thanos.

douglascamata avatar douglascamata commented on July 3, 2024

@sourcehawk traffic between querier and store gateway is triggered by incoming queries. We can't say 500 MB/s is unnatural unless we know a bunch of things, like:

  • Is this querier getting lots of queries as soon as it comes up?
  • Are these queries over long time frames?
  • Are these queries touching many series?
  • What's the size of your blocks?

from thanos.

sourcehawk avatar sourcehawk commented on July 3, 2024

After much debugging we've come to realize the traffic is probably being generated due to an infinite recursion loop happening between the thanos ruler and the querier when the ruler is added as a store on the querier. My best bet is because the ruler queries the querier but the querier also queries the ruler, causing an infinite call loop to both the sidecar and the store gateway.

image

This is the network traffic after removing thanos ruler, as can be seen, the traffic of all types drops almost instantaneously to zero.
image

from thanos.

douglascamata avatar douglascamata commented on July 3, 2024

Interesting. You can deploy a separate querier that will query almost everything, excluding the Ruler, and point the Ruler to this one.

from thanos.

evilr00t avatar evilr00t commented on July 3, 2024

Just out of curiosity - if you'd enable remote_write on Ruler that would stop Store API on it - possibly that could help?

from thanos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.