Giter VIP home page Giter VIP logo

happyweb's People

Contributors

laffra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

happyweb's Issues

Questions about the gradient logic

I'm playing around with happyweb and I am attracted to it's simplicity. However, I'm trying to wrap my head around the logic used to determine the status.

Here is happyweb running 'natively' on OSX - fully current Big Sure 11.6
image

Here is happyweb running on a Linux VM under virtual box on the same OSX machine - so we have a layer of virtualization, but still reasonable performance.
image

It is concerning that I have so much red in general - I'm only on 75/10 cable (down/up) .. but as a user the web feels pretty good.

It appears that the color of the tile is dependent on the 'load time' of the page.

It is concerning that in both examples - I see FAILED. This would indicate a 10second time-out to fetch the page? Or is the timeout parameter busted and not really 10 seconds?

From OSX native

% time curl https://www.netflix.com/ca
curl https://www.netflix.com/ca  0.02s user 0.03s system 9% cpu 0.483 total

From the virtual linux on OSX

$ time curl https://www.netflix.com/ca

real    0m0.372s
user    0m0.014s
sys     0m0.005s

I like the simplicity of happyweb, but I'm thinking that for my situation (and probably I'm not way out there in terms of network performance) I need the ability to easily specify the scale used to determine badness. Otherwise I'm left with a big page of red.

Adding a prometheus exporter?

It might be nice to allow integration with Prometheus. This might help inform you about the happyweb status over time vs. just the 'right now' status.

I'd be happy to sketch out a PR if there is interest.

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.