{"library":"django-prometheus","type":"library","category":null,"description":"django-prometheus is a Python library that provides Prometheus metrics for Django applications. It offers automatic instrumentation for HTTP requests, database queries, and cache operations, as well as features for exposing custom application-level metrics. The library is actively maintained, with version 2.4.1 being the latest release, and regularly updates to support new Django and Python versions.","language":"python","status":"active","version":"2.4.1","tags":["django","prometheus","monitoring","metrics","observability"],"last_verified":"Wed May 20","install":[{"cmd":"pip install django-prometheus","imports":["INSTALLED_APPS = [... 'django_prometheus', ...]","MIDDLEWARE = ['django_prometheus.middleware.PrometheusBeforeMiddleware', ...]","MIDDLEWARE = [... 'django_prometheus.middleware.PrometheusAfterMiddleware']","from django.urls import path, include\nurlpatterns = [... path('', include('django_prometheus.urls')), ...]","from django_prometheus.models import ExportModelOperationsMixin\nclass MyModel(ExportModelOperationsMixin('mymodel'), models.Model): ..."]}],"homepage":null,"github":"https://github.com/korfuri/django-prometheus","docs":"https://github.com/korfuri/django-prometheus/blob/master/README.md","changelog":"https://github.com/korfuri/django-prometheus/blob/master/CHANGELOG.md","pypi":"https://pypi.org/project/django-prometheus/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":50,"avg_install_s":3.5,"avg_import_s":null,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/django-prometheus/compatibility"}}