Export Django monitoring metrics for Prometheus.io. This library provides Prometheus metrics for Django-related operations. Prometheus uses Histogram based grouping for monitoring latencies. You can define custom buckets for latency, adding more buckets decreases performance but increases accuracy. SQLite, MySQL, and PostgreSQL databases can be monitored. Just replace the ENGINE property of your database, replacing django.db.backends with django_prometheus.db.backends. You may want to monitor the creation/deletion/update rate for your model. This can be done by adding a mixin to them. This is safe to do on existing models (it does not require a migration). Note that the exported metrics are counters of creations, modifications and deletions done in the current process. They are not gauges of the number of objects in the model.

Features

  • Requests
  • Responses
  • Database access done via Django ORM
  • Cache access done via Django Cache framework
  • Requires Django >= 2.2
  • Install with pip

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow django-prometheus

django-prometheus Web Site

Other Useful Business Software
The Most Awarded Employee Time Clock Software Icon
The Most Awarded Employee Time Clock Software

For businesses who have employees they need to track time, attendance, or schedule.

Cloud based time clock solution that pre-populates reports for payroll. Employees can punch in on their desktop or mobile devices. Punching in & out is intuitive for your employees & easy for you to view & export time. Employees can clock in using a browser or our Google, iOS, & Android apps. You can view who's working, their GPS position or even limit where they can punch. We integrate with QuickBooks, ADP, Paychex, & SurePayroll while also offering Excel exports. Advanced features such as PTO Accrual Tracking, Punch Rounding, Job Codes, QR Codes, Automatic Breaks, & SSO are all included in our cloud based time clock.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of django-prometheus!

Additional Project Details

Programming Language

Python

Related Categories

Python Software Development Software, Python Frameworks

Registered

2022-09-05