fixed version prometheus-client

added env variable SPOOLMAN_METRICS_ENABLED for enabled database collector

set metrics path as /metrics

checked Null values at vendors, init weight and price
removed some logs
This commit is contained in:
Dmitry Belousov
2024-04-15 00:17:36 +03:00
parent fc8df5346d
commit 91d922d0b8
7 changed files with 109 additions and 63 deletions

View File

@@ -20,6 +20,7 @@ dependencies = [
"psycopg2-binary~=2.9",
"setuptools~=68.0",
"WebSockets>=11.0.3",
"prometheus-client>=0.20.0",
]
requires-python = ">=3.9"