Skip to content
Snippets Groups Projects
Verified Commit 8d88e6c5 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Enable prometheus exporter for MySQL database backend.

parent a0d364a9
No related branches found
No related tags found
1 merge request!40Enable prometheus exporter for MySQL database backend.
Pipeline #4627 passed
......@@ -3,7 +3,7 @@ from aleksis.core.settings import _settings
if _settings.get("untis.database.enabled"):
DATABASES = {
"untis": {
"ENGINE": "django.db.backends.mysql",
"ENGINE": "django_prometheus.db.backends.mysql",
"NAME": _settings.get("untis.database.name", "untis"),
"USER": _settings.get("untis.database.user", "untis"),
"PASSWORD": _settings.get("untis.database.password", None),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment