Skip to main content

Lightweight Django middleware for profiling SQL queries, detecting performance issues, and analyzing request execution.

Project description

ami-djAPI-analyzing

Lightweight ami-djAPI-analyzing for analyzing SQL queries, request performance, and detecting common database issues like N+1 queries, duplicate queries, slow queries, and missing indexes.

It provides detailed profiling information directly in the response headers and API responses.


Features

• Capture all SQL queries executed during a request
• Detect N+1 queries automatically
• Detect duplicate queries
• Detect slow SQL queries
• Detect potential missing indexes
• Analyze database time vs total response time
Performance score system (A–F grading)
• Track request history
• Capture memory usage
• Generate EXPLAIN plans for slow queries
• Optional step-by-step view execution profiler
• Encrypted performance payload in response headers


Installation

pip install ami-djAPI-analyzing

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

ami_djapi_analyzing-0.1.0.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

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

ami_djapi_analyzing-0.1.0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file ami_djapi_analyzing-0.1.0.tar.gz.

File metadata

  • Download URL: ami_djapi_analyzing-0.1.0.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for ami_djapi_analyzing-0.1.0.tar.gz
Algorithm Hash digest
SHA256 129cb2f7f1624600e535bd876538417bd8388add60d69b2b2dbce7c9e3750688
MD5 d34352a00fe781dda21edaccf434feee
BLAKE2b-256 855f02bffc47790ac47b68a1a3abb30f8a1e482a16bf0d98b7e8a17425558ec0

See more details on using hashes here.

File details

Details for the file ami_djapi_analyzing-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ami_djapi_analyzing-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f5cce19dc142cf29caad33d403e8a38cc350b571a571b49e3bd9eaa56a1ebd6e
MD5 df6f3aed0c72f68b5f2ea0d863e52a46
BLAKE2b-256 79d0a3b6f5b73acb55e837c9e46dafc1b473a6e3c31520cb53e5cf17973a4813

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