Giter Site home page Giter Site logo

rafalwilinski / serverless-pagespeed-monitoring Goto Github PK

View Code? Open in Web Editor NEW
25.0 3.0 0.0 41.61 MB

๐ŸŽ Measure your webpage real speed from multiple regions in a serverless way

Home Page: https://rwilinski.me

License: MIT License

Shell 29.32% JavaScript 70.68%
serverless aws pagespeed

serverless-pagespeed-monitoring's Introduction

serverless-pagespeed-monitoring

serverless

Measure your webpage real speed from multiple regions in a serverless way.

Usage

First, ensure that you have Serverless Framework installed. If not, install it:

$ npm install serverless -g

Clone the repo, install dependencies and deploy function:

$ git clone https://github.com/RafalWilinski/serverless-pagespeed-monitoring
$ npm install
$ serverless deploy

OR if you'd like to deploy to multiple regions at once, use:

$ ./deploy_global.sh

Config

serverless-pagespeed-monitoring can be configured using config.yml file:

metrics: <comma separated list of metrics e.g.: 'domInteractive,requestStart'>
url: <url to be tested e.g.: https://google.com>
rate: <cloudwatch schedule expression e.g.: rate(1 hour)>

Demo & Example Dashboard

After deploying, you can use CloudWatch Dashboard included in example_dashboard.json to visualize data:

Demo

Development

AWS_REGION=us-east-1 npm run local

License

MIT ยฉ Rafal Wilinski

serverless-pagespeed-monitoring's People

Contributors

rafalwilinski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.