flask-track-usage icon indicating copy to clipboard operation
flask-track-usage copied to clipboard

Basic metrics tracking for the Flask framework.

Results 11 flask-track-usage issues
Sort by recently updated
recently updated
newest added

I wanted to use `TRACK_USAGE_INCLUDE_OR_EXCLUDE_VIEWS = 'exclude'` to track every view except the admin view, however it tracked too the requests for static files (which I don't want to track),...

SQL Hooks (and MongoHooks as far as I have seen) are splitted into 2 different methods: ``` def sumUrl_set_up(*args, **kwargs): tables = ["url_hourly", "url_daily", "url_monthly"] create_tables(tables, **kwargs) def sumUrl(**kwargs): if...

I believe when writting to MongoDB one cannot have empty strings but the default values of localhost bring something like: { "businessName" : "", "businessWebsite" : "", "city" : "",...

Thank you so much for creating this great package! When I'm using it in most of the cases the ua_language is empty. I think it's because of the usage of...

enhancement

I've not been able to hunt down the exact reason, but it appears that I'm getting "double" entries for every web query. Even using command-line `wget` on a specific page,...

bug

I'm trying to use the sumVisitors hook but I get the error when I try to import it: `ImportError: cannot import name 'sumVisitors' from 'flask_track_usage.summarization'` Any idea? Thanks.

Python 3.5.2 flask 0.12.2 I am trying to save the log in a file as `OutputWriter(output=open('page_view.log','a'), transform=lambda s: str(s))`. In the output file I find that user_agent shows as `'user_agent':...

These are just thoughts for future releases; in no particular order. I figured I'd document them somewhere. I'm not going to work on any of them right now :). *...

Traceback (most recent call last): ... from flask_track_usage import TrackUsage File "/opt/homebrew/lib/python3.11/site-packages/flask_track_usage/__init__.py", line 43, in from flask import _request_ctx_stack, g ImportError: cannot import name '_request_ctx_stack' from 'flask' (/opt/homebrew/lib/python3.11/site-packages/flask/__init__.py) The above...