معرفی شرکت ها


django-performance-monitor-1.0.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

A simple django applications to log the response time greater than a threshold value
ویژگی مقدار
سیستم عامل -
نام فایل django-performance-monitor-1.0.0
نام django-performance-monitor
نسخه کتابخانه 1.0.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Afsal Salim
ایمیل نویسنده afsal@parseltongue.co.in
آدرس صفحه اصلی https://github.com/afsal-parseltongue/django-performance-monitor
آدرس اینترنتی https://pypi.org/project/django-performance-monitor/
مجوز -
# Django Performance Monitor ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/django-performance-monitor) ![PyPI - License](https://img.shields.io/pypi/l/django-performance-monitor) ![PyPI - Django Version](https://img.shields.io/pypi/djversions/djangorestframework) Django Performance monitor is simple django application for tracking the view which takes more time than a threshold value (By default 1.5 Seconds). Also using a Configuration in admin we turn on or off this feature ## Installation ```bash $ pip install django-performance-monitor ``` ## Requirements - Python3.6+ ## Usage - Add **django_performance_monitor** to the installed app in the settings file, ```python INSTALLED_APPS = ( # other apps "django_performance_monitor", ) ``` - Add **django_performance_monitor.middleware.LogRequestMiddleware** to the MIDDLEWARE in the settings, ```python MIDDLEWARE = [ #other middlewares 'django_performance_monitor.middleware.LogRequestMiddleware' ] ``` - Set the **LOG_THRESHOLD** value above which we need to log the request in settings.py, By default its values is 1.5 Seconds ```python LOG_THRESHOLD = 2.05 ``` - Run **python manage.py migrate**, ```bash $ python manage.py migrate ``` All the requests are logged to **Request logs** under the app **DJANGO_PERFORMANCE_MONITOR** To disable this logging go to **Config** under the app **DJANGO_PERFORMANCE_MONITOR**, if there is no config object create one with **Is active** un checked. If exist change to ** Is active ** to un checked. ## Communication - If you **find a bug**, open an issue. - If you **have a feature request**, open an issue. - If you **want to contribute**, submit a pull request. ## Author Afsal Salim, afsal@parseltongue.co.in ## License Django Performance Monitor is available under the MIT license. See the LICENSE file for more info.


زبان مورد نیاز

مقدار نام
>=3.6 Python


نحوه نصب


نصب پکیج whl django-performance-monitor-1.0.0:

    pip install django-performance-monitor-1.0.0.whl


نصب پکیج tar.gz django-performance-monitor-1.0.0:

    pip install django-performance-monitor-1.0.0.tar.gz