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

Speculative features for (much) later versions

Open JohnAD opened this issue 6 years ago • 5 comments

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 :).

  • Use threading for storage so that a slow DB connection does not slow down Flask.
  • Modify the Mongo updates (for summaries) so that the increment is more atomic; should scale better.
  • Add Writers for feeding data much more advanced analytics products:
    • Matomo (via API or MySQL)
    • Sawmill (via API)
    • AWStats, which is done via a Apache Access Log, which leads us to....
  • Add ApacheAccessLogWriter, which writes a standard apache log to a text file
  • Add a HTTP-Status-Code summary, to see 404s etc.
  • Add summary for GeoLocation
  • Put sumBasic back in (does the basic 5 as a single line.)

JohnAD avatar Apr 16 '18 19:04 JohnAD

  • Add Flask's built-in session cookie to the usage log.
  • Put documentation for writing one's own summary back in.
    • Make a YouTube tutorial video on that.

JohnAD avatar Apr 16 '18 19:04 JohnAD

  • When using "FREEGEOIP" store the actual coordinates in MongoEngine's geospatial PointField.
    • MongoDB ref: https://docs.mongodb.com/manual/reference/geojson/
    • also add straight pymongo support

JohnAD avatar Apr 24 '18 15:04 JohnAD

@JohnAD 2.0.0 went live. Let me know once you publish your video!

ashcrow avatar Jun 04 '18 15:06 ashcrow

The video is now live! https://www.youtube.com/watch?v=r1wL0FVeLmA

I plan on adding another vid for the geolocation function in the next few weeks.

JohnAD avatar Jun 04 '18 16:06 JohnAD

@JohnAD:

  • https://stevemilner.org/2018/06/04/flask-track-usage-2-0-0-tutorial/
  • https://twitter.com/ashcrow/status/1003690007331246083

ashcrow avatar Jun 04 '18 17:06 ashcrow