Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add production usage support by configurable sampling function #45
On high traffic websites, it is not ideal to sample each request via flask-profiler.
If the sampling function returns True, sample is taken, if sampling function is not defined or returns False, sample is not taken.
README.md is also edited in this commit to give a couple of usage examples.
When merged, this will resolve issue #44