Open MattGrayYes opened 1 month ago
If you havent got a working database yet while testing, it manage.py crashes because the prometheus bit is trying to access the database tables before theyve been created
These lines at the bottom of /api/views.py
REGISTRY.register(MetricsCollector())
def metrics(request): return HttpResponse(generate_latest())
might be fixed in pr28
If you havent got a working database yet while testing, it manage.py crashes because the prometheus bit is trying to access the database tables before theyve been created
These lines at the bottom of /api/views.py
REGISTRY.register(MetricsCollector())
def metrics(request): return HttpResponse(generate_latest())