Coder Social home page Coder Social logo

cutemp's Introduction

cutemp raison d'être

cutemp = curl + tempo, the idea is to be able to pass a URL to cutemp and get back, in json format, the number of milliseconds it took to curl said URL. My ultimate goal was to create a Web Page that would show a continuously updated line-chart of the response time for a given URL. cutemp takes me 50% of the way towards my stated goal, and http://github.com/rm511130/line-chart does the rest.

Example:

$ curl cutemp.apps.ourpcf.com/www.vmware.com

[[2,26.831884]]

$ curl cutemp.apps.ourpcf.com/user1-fact.apps.ourpcf.com/10000

[[3,10.078029]]

When used in conjunction with http://github.com/rm511130/line-chart you get:

Easy to cf push

You can cf push cutemp to any Tanzu Application Services platform as shown in the example below:

cf login -a api.sys.ourpcf.com -u rm511130 -p p@55w0rd
cf push cutemp

cutemp's People

Watchers

James Cloos avatar

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.