Code Monkey home page Code Monkey logo

Comments (4)

MichaHoffmann avatar MichaHoffmann commented on August 23, 2024

The query in the UI uses [1m] ~ from the sample it feels like you have 30s scrape frequency. Does it also happen with [5m]? I wrote a qucik test with your given inputs and the result series looks somewhat like:

					samples: []sample{
						{t: 1713668216000, f: 9389.87},
						{t: 1713668224000, f: 9389.94},
						{t: 1713668254000, f: 9389.95},
						{t: 1713668284000, f: 9390.02},
						{t: 1713668314000, f: 9390.03},
						{t: 1713668344000, f: 9390.33},
						{t: 1713668374000, f: 9390.83},
						{t: 1713668404000, f: 9391.13},
						{t: 1713668434000, f: 9391.38},
						{t: 1713668464000, f: 9391.61},
						{t: 1713668494000, f: 9393.53}},
                                         },

from thanos.

MichaHoffmann avatar MichaHoffmann commented on August 23, 2024

It looks like all samples are there and do have proper 30s scrape interval between them; it could be that your 1m windows are aligned in a way that only one sample is contained in the window which would break rate. I think this is an issue with too small window, but the deduplication result looks somewhat correct to me except that we have one sample too much at the beginning

from thanos.

jnyi avatar jnyi commented on August 23, 2024

We have evidence about dedup logic bug as well, here are the proof:

First graph is data points missing when getting the results from thanos receiver with replicationFactor == 3, and because we are rolling update the receiver pods, so 1 copy was absent for sure, however after check Deduplication, it still have dips:

No Dedup
Screenshot 2024-05-16 at 10 36 34 PM

With Dedup
Screenshot 2024-05-16 at 10 36 41 PM

After the data got compact and returned from store, the results become correct with no dips:
Screenshot 2024-05-20 at 10 22 21 AM

from thanos.

jnyi avatar jnyi commented on August 23, 2024

seems related to this issue: #981

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.