Skip to content

steinnes/statsdmiddleware

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

statsdmiddleware

Repo with an example Flask app which uses my statsd middleware.

setup

$ make bootstrap

This will setup the virtualenv and requirements (Flask and dogstatsd-python).

running

$ make run

This will run the built-in flask webserver in debug mode. Afterwards you can open http://127.0.0.1:5000/test to trigger a rendering of the test view.

seeing metrics

$ make tcpdump

This runs tcpdump so you can see the UDP packets containing the statsd metrics the middleware is emitting. For a proper experience I recommend getting setup with Datadog and passing your metrics there ;-)

About

Repo with an example Flask app which uses my statsd middleware.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published