Giter Club home page Giter Club logo

Comments (4)

fabxc avatar fabxc commented on May 13, 2024

Mh, so they look largely the same. Do you mean the difference where Thanos shows the data flatlining across the gaps rather than actually showing no data?
That would smell like staleness handling, but that's all in imported packages – so not sure where any divergence would come from.

from thanos.

fabxc avatar fabxc commented on May 13, 2024

Coming back to this, it seems that somehow the staleness samples are not being treated properly. We use the default PromQL engine, so that cannot be it.
Staleness samples are just regular samples with a float64 values. However, there are ~2^52 ways to represent NaN. We picked one discrete one of them to indicate staleness and normalize actually scraped NaN values to another one.

By our research, this is valid usage according to IEEE754:

"Two kinds of NaN: a quiet NaN (qNaN) and a signaling NaN (sNaN). A NaN may carry a payload that is intended for diagnostic information indicating the source of the NaN. The sign of a NaN has no meaning, but it may be predictable in some circumstances."

I wonder now whether somewhere along the way another NaN representation is substituted for our staleness samples for some reason. It would be easy to blame gRPC or something, but we are actually moving around encoded chunks there.

from thanos.

fabxc avatar fabxc commented on May 13, 2024

@Bplotka can you check whether this is still an issue.

Did a quick check against GCS data. The metric (green line) stops but increases until the end, i.e. does not show the 5 minute flatline at the end. That generally looks correct.

screen shot 2017-12-19 at 15 34 03

from thanos.

fabxc avatar fabxc commented on May 13, 2024

We haven't seen this in a while so I'd consider it resolved. We can reopen should someone encounter it again.

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.