17 lines
637 B
Markdown
17 lines
637 B
Markdown
# Мониторинг
|
||
|
||
## Ключевые метрики
|
||
- `registry_http_requests_total` — кол-во запросов к registry
|
||
- `registry_http_request_duration_seconds` — latency
|
||
- `registry_s3_operations_total` — операции с S3
|
||
- `registry_s3_errors_total` — ошибки S3
|
||
|
||
## Алерты (Prometheus)
|
||
- **RegistryDown**: `up == 0` (>2 min)
|
||
- **RegistryHighLatency**: `p99 > 5s` (>5 min)
|
||
- **RegistryS3Errors**: `rate > 0.1/s` (>5 min)
|
||
- **RegistryPodRestart**: увеличение restart count
|
||
|
||
## Grafana Dashboard
|
||
- Import dashboard ID: (создать при установке мониторинга)
|