feat(metrics): prometheus-метрики и сервер /metrics
- src/metrics.py: счётчики строк, чанков, файлов (processed/failed) и start_metrics_server - settings: METRICS_ENABLED (true), METRICS_PORT (9100) - main: запуск сервера метрик перед pipeline - pipeline: учёт записанных в Qdrant строк/чанков; финальная группа без чанков сдвигает чекпоинт, не вызывая embed/upsert - helm: порт metrics в контейнере, METRICS_ENABLED/METRICS_PORT в configmap - prometheus-client в зависимостях, тесты и документация
This commit is contained in:
1 parent
6b4d791ff5
commit
516242f3de
14 files changed
+289
-11
No files matched your search
@@ -15,6 +15,7 @@ dependencies = [
|
||||
"structlog>=24.4",
|
||||
"tiktoken>=0.7",
|
||||
"ijson>=3.3",
|
||||
"prometheus-client>=0.20",
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
|
||||
Reference in new issue
Block a user