Skip to main content

Subscribe query log to SqlAlchemy event

Project description

sqlalchemy_query_watch

Additional query log for SqlAlchemy

  • Query summary within a db connection
    • Statement count (SELECT, UPDATE, INSERT, DELETE)
    • DB IO count
      • Turn to WARNING log level when too many IO count within a connection
  • Time used on every query
    • Turn to ERROR log level when query takes too long to execute
  • Raw query (DEBUG log level)
  • Query length and parameter on every query (with n+1 detection using this stats)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sqlalchemy_query_watch-0.0.1.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sqlalchemy_query_watch-0.0.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file sqlalchemy_query_watch-0.0.1.tar.gz.

File metadata

  • Download URL: sqlalchemy_query_watch-0.0.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.3

File hashes

Hashes for sqlalchemy_query_watch-0.0.1.tar.gz
Algorithm Hash digest
SHA256 e54d8b3abb1e9855e114ce0831f6146cbb97dc2cd731672404c92aaf670380f6
MD5 63550c5976989ca133ba20093e7d70fc
BLAKE2b-256 a2a5fd272ad1887ffb43dcf4e71582b8a695c114b3117f38b70676d5a25309d9

See more details on using hashes here.

File details

Details for the file sqlalchemy_query_watch-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for sqlalchemy_query_watch-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 844fff83a7c841b18144301ade2f76438a79152e4cad2593d560da2f9807dcd5
MD5 d205b94f25cd731e7bbf7e180fab9fa2
BLAKE2b-256 a73e93b2554b29cd64e8583d9f0b5c432621a8ec161333cd64e8c7a5c5f0fa34

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page