|
|
@@ -276,6 +276,21 @@ Kontroll: `docker exec clickstack sh -c 'tail -3 /var/log/otel-collector.log'` (
|
|
|
sessioonid ajas (line) + teenuse kaupa (table), source = session-allikas.
|
|
|
- Kontroll: `SELECT ServiceName, count() FROM default.hyperdx_sessions GROUP BY ServiceName`.
|
|
|
|
|
|
+### OTLP ingest rate-limit (`otel.odamus.com`)
|
|
|
+Avalik ingest on rate-limiteeritud: edge Caddy → **`otel-ratelimit`** (nginx, `100.87.1.24:4319`,
|
|
|
+`limit_req zone=otlp 20r/s burst=60 nodelay`, `limit_conn 40`, real IP `X-Forwarded-For` kaudu,
|
|
|
+`set_real_ip_from 100.64.0.0/10`) → `clickstack:4318`.
|
|
|
+(Caddy standardbuildis `rate_limit` plugin't **pole** → seetõttu nginx.)
|
|
|
+Konfiguratsioon: `dev/config/otel-ratelimit/nginx.conf`, teenus `dev/docker-compose.yml`.
|
|
|
+Kontroll: 150 kiiret POST-i → ~62×200, ~88×429.
|
|
|
+
|
|
|
+### Logimüra filter: cAdvisor btrfs hoiatus
|
|
|
+`cadvisor` logib korduvalt
|
|
|
+`Unable to get btrfs mountpoint IDs: stat failed on /dev/mapper/data-root` — **benignne**
|
|
|
+(konteiner ei näe hosti LVM-seadet, cAdvisor langeb tagasi). `otel-collector` `filter/logs`
|
|
|
+processor (`IsMatch(body, "Unable to get btrfs mountpoint IDs")`) viskab need välja.
|
|
|
+Logs-pipeline: `[filelog] → [memory_limiter, filter/logs, batch] → [otlp]`.
|
|
|
+
|
|
|
## Seotud
|
|
|
- Vahejuhtumite audit: `../LOEMIND_seisevad_konteinerid.md`
|
|
|
- Serveri mudelid: `~/servers/LOEMIND/llama-server.md`
|