mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-05-16 06:53:04 +00:00
Prometheus support
This commit is contained in:
parent
753a33e7c5
commit
9f243fd6be
7 changed files with 120 additions and 7 deletions
4
gunicorn_conf.py
Normal file
4
gunicorn_conf.py
Normal file
|
@ -0,0 +1,4 @@
|
|||
from prometheus_client import multiprocess
|
||||
|
||||
def child_exit(server, worker):
|
||||
multiprocess.mark_process_dead(worker.pid)
|
Loading…
Add table
Add a link
Reference in a new issue