Closed landerneRPi closed 3 years ago
I've got a 404 on /metrics
:
INFO:werkzeug:127.0.0.1 - - [15/Aug/2021 19:26:01] "GET /metrics HTTP/1.1" 404
Can someone else test it ? are you sure it work on this branch ?
I've entirely recreated my python virtualenv and I still get a 404.
Thanks in advance.
I also got 404 error when i tried this implementation myself
It seems that export DEBUG_METRICS=True
is needed for metric to work in developpement / debugger mode. We need to update scratchy-server
CLI to add this.
@landerneRPi can you make this update : 5f27dc538c1c580f56b966644af542ea8c528a5b it solved the issue
installation: $ pip install prometheus-flask-exporter or $ pip install -r requirements.txt
get metrics:
Should output something like that:
But it does not work as expected !