Code Monkey home page Code Monkey logo

Comments (4)

dbuxton avatar dbuxton commented on May 21, 2024

Unless the check in fact passed? How do you know it should have failed?

from cabot.

ringular avatar ringular commented on May 21, 2024

hey @dbuxton, thanks for looking into it.

The timeout is set to 30ms, so if a check crosses that threshold, it should be marked as a failure no? In the first check, it took 32ms & was marked as failure, while the second took 558ms but was successful.

from cabot.

dbuxton avatar dbuxton commented on May 21, 2024

Thanks for clarifying. We don't actually use the reported time to mark checks as successful or failing (instead we pass the value to the underlying call to requests so that it knows when to time out the request itself). I'm pretty sure that the times we're getting reported are actually totally wrong but the statuses are correct, if you see what I mean.

To give you some idea of how we use this ourselves, we're typically passing in an upper bound of when a service would be considered "up" (might be 10s or something high). If we want to alert on response times per se, we gather that information in graphite and then watch whatever metric we need to with cabot. The only reason we'll play with the timeout is if we have a really slow service that we nonetheless don't want to get alerted by all the time.

from cabot.

ringular avatar ringular commented on May 21, 2024

Cool. Thanks for clarifying. Great tool! Looking forward to contribute to
it at some point after being becoming more familiar. Cheers!
On Jun 13, 2014 4:12 PM, "dbuxton" [email protected] wrote:

Thanks for clarifying. We don't actually use the reported time to mark
checks as successful or failing (instead we pass the value to the
underlying call to requests so that it knows when to time out the request
itself). I'm pretty sure that the times we're getting reported are actually
totally wrong but the statuses are correct, if you see what I mean.

To give you some idea of how we use this ourselves, we're typically
passing in an upper bound of when a service would be considered "up" (might
be 10s or something high). If we want to alert on response times per se, we
gather that information in graphite and then watch whatever metric we need
to with cabot. The only reason we'll play with the timeout is if we have a
really slow service that we nonetheless don't want to get alerted by
all the time.


Reply to this email directly or view it on GitHub
#70 (comment).

from cabot.

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.