forked from mtusi2026/mtusi2026lab6
19 lines
1.1 KiB
Markdown
19 lines
1.1 KiB
Markdown
# Инфраструктура lab6
|
|
|
|
- `otel/collector.yaml` — OTLP receivers, memory_limiter (140 MiB), batch,
|
|
bounded Loki/Tempo exporter queues (`sizer: bytes`), Prometheus exporter
|
|
`:8889`, self-metrics `:8888`, health `:13133`.
|
|
- `prometheus/` — scrape config (collector, collector-self, HAProxy, RabbitMQ),
|
|
7d/2GB retention, SLO recording rules and alerts.
|
|
- `loki/loki.yaml` — filesystem, schema v13, 168h retention, OTLP mapping with
|
|
only `service.name`/`deployment.environment.name` as index labels.
|
|
- `tempo/tempo.yaml` — local storage, OTLP, 72h block retention.
|
|
- `grafana/` — provisioned datasources (Prometheus/Loki/Tempo), dashboard
|
|
provider and JSON dashboards; admin password only in gitignored
|
|
`secrets/grafana.env`.
|
|
- `rabbitmq/rabbitmq.conf` — per-object Prometheus metrics so `queue` is a
|
|
real label for depth/age panels.
|
|
- `runbooks/` — DB availability, queue lag, API errors, telemetry backend down.
|
|
- cAdvisor не используется: контейнерные CPU/RAM приложения снимаются из
|
|
cgroup v2, брокер — из `rabbitmq_prometheus`; Docker socket не монтируется.
|