Closed JosueGauthier closed 6 months ago
Worked for me Django 4.2.7
.
@JosueGauthier django_prometheus.db.backends.postgresql
is the correct engine and it looks like in the error message you are using django_prometheus.db.backends.postgresql_psycopg2
?
I think this can be closed since @JosueGauthier has an incorrect backend configured as @eraserhead0705 mentions.
Hello,
I try to monitor a Django app (Python 3.10, Postgresql and Django 4.0.4) with your package, however when I try to do :
I get the error :
I see that indeed in python3.10/site-packages/django/db/utils.py, backend_name must be named django.db.backends
Is there a fix ?
Thanks