Skip to content

gourneau/anode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

anode

A Python flask boomerang beacon endpoint with graphs!

These graphs will show you the total amount of time that users had to wait for your page to load.

anode

Make sure to install the requirements from requirements.txt

JSONStore is used to presist that data. NVD3 is used for the JavaScript Graphs.

Then you need to make sure that all the pages you want to phone home have this JavaScript

The beacon_url needs to be the address of the Flask server

  <script src="https://raw.github.com/yahoo/boomerang/master/boomerang.js" type="text/javascript"></script>
  <script>
    tplPrefix = 'ds_';
    // configure boomerang
    BOOMR.init({
      beacon_url: '{{ base_js_extra }}',
      site_domain: window.location.host,
      BW: {
        base_url : 'https://raw.github.com/yahoo/boomerang/master/images/',
        nruns: 3
      }
    });
    // start the timer
    BOOMR.plugins.RT.startTimer( tplPrefix + 'head');
  </script>

This is GPL code, this is also not ready for other people to use it.

About

a Python flask boomerang beacon endpoint with graphs!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages