python-discord / site

pythondiscord.com - A Django and Bulma web application.
https://pythondiscord.com
MIT License
638 stars 127 forks source link

Use Prometheus drop-in database engines #1333

Closed jb3 closed 1 month ago

jb3 commented 1 month ago

This is a drop-in change that allows the django-prometheus package to export metrics detailing statistics on database usage within the application.

There are no other changes required and this is completely transparent to the rest of the application, the engine is just a passthrough to the underneath postgresql engine.

netlify[bot] commented 1 month ago

Deploy Preview for pydis-static ready!

Name Link
Latest commit a5cbe4943645259189ec47e69b5042a274c8a824
Latest deploy log https://app.netlify.com/sites/pydis-static/deploys/665e6a60f2bdb5000860bc5e
Deploy Preview https://deploy-preview-1333--pydis-static.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

coveralls commented 1 month ago

Coverage Status

coverage: 100.0%. remained the same when pulling a5cbe4943645259189ec47e69b5042a274c8a824 on jb3/monitoring/prometheus-db-metrics into 19d761242b7184fec48a30f58fce8de18bab892a on main.