feat: метрики использования каждой NER-модели и панели дашборда

- Добавлены счётчики pdguard.ner.model.requests и таймеры
  pdguard.ner.model.duration с тегом model (name/address/legal).
- Гистограммы для таймеров моделей включены в MetricsConfiguration.
- Дашборд дополнен панелями «Обращения к моделям» и «Время моделей».
- Prometheus собирает метрики с обеих нод кластера.
- Целевые значения лимитера: min-concurrent 100, target-latency 900.
- Подавление S2925 (Thread.sleep) в тесте лимитера.
This commit is contained in:
dakocha3
2026-09-23 23:51:07 +03:00
parent 7a388e3d4a
commit ddceca076c
6 changed files with 192 additions and 17 deletions
+2 -2
View File
@@ -40,9 +40,9 @@ pdguard:
ttl-minutes: 30
# 32 байта в hex; AES-256 ключ шифрования хранилища
encryption-key: "46a38b200c6df557a5fd2c8a57ad3fec6b710b9f3e1fef1451d121a094f63573"
min-concurrent: 8
min-concurrent: 100
max-concurrent: 2000
target-latency-ms: 200
target-latency-ms: 900
warmup-iterations: 2000
ner:
name-engine: off