Giter Club home page Giter Club logo

Comments (2)

matttproud avatar matttproud commented on August 24, 2024

I think I may have an idea what is at play here. The estimator library
which I forked had some undefined (and bad) behavior for empty sample sets,
which was swapped for an illegal state error as a better sentinel of
you-did-something-wrong.

Can you give me a little more detail than this, as that will expedite the
resolution? This likely occurs with either sparse or inactive label sets.
Am 09.04.2014 12:01 schrieb "juliusv" [email protected]:

@pcalcado https://github.com/pcalcado reported this via mail:

I did find a very weird behaviour with the Prometheus Java client
where it only starts returning data after a while, for the very first
minutes of an app running it throws this exception:

java.lang.IllegalStateException: No samples present
26929147 2014-04-08_23:00:18.82132 at
com.matttproud.quantile.Estimator.query(Estimator.java:213)
~[quantile-0.0.1.jar:na]
26929147 2014-04-08_23:00:18.82133 at
io.prometheus.client.metrics.Summary$Child.query(Summary.java:383)
~[client-0.0.2.jar:na]
26929147 2014-04-08_23:00:18.82134 at
io.prometheus.client.metrics.Summary.annotateBuilder(Summary.java:166)
~[client-0.0.2.jar:na]
26929147 2014-04-08_23:00:18.82134 at
io.prometheus.client.metrics.Metric.dump(Metric.java:76)
~[client-0.0.2.jar:na]
26929147 2014-04-08_23:00:18.82135 at
io.prometheus.client.Prometheus.dumpProto(Prometheus.java:104)
~[client-0.0.2.jar:na]
26929147 2014-04-08_23:00:18.82137 at
io.prometheus.client.Prometheus.defaultDumpProto(Prometheus.java:182)
~[client-0.0.2.jar:na]


Reply to this email directly or view it on GitHubhttps://github.com//issues/27
.

from client_java.

matttproud avatar matttproud commented on August 24, 2024

Fixed in #29.

from client_java.

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.