Skip to content

agatanyc/Analytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project defines an HTTP server that lets you collect stats of a given site.

Dependencies

  • graphite
  • statsd

Running the server

For development in separate terminals run:

  • Run carbon and graphite-web—parts of graphite

       python /opt/graphite/bin/carbon-cache.py start
    

    !!!!!!You can ignore the message: 'WHISPER_FALLOCATE_CREATE is enabled but linking failed.'

      python /opt/graphite/bin/run-graphite-devel-server.py /opt/graphite
    
  • Run statsd

      node /opt/statsd/stats.js /opt/statsd/config.js
    
  • Run application

      python ~/projects/analytics/main.py
    

For sending multiple HTTP requests run:

ab -n 10 -c 10 http://127.0.0.1:5000/page/49
  • To view graphs in a browser run localhost80:80

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages