0.38.6_agent_hotfix

This commit is contained in:
Mateusz Gruszczyński committed 2026-11-19 08:53:34 +01:00
1 parent 1239ff524d
commit d4a604970e
14 files changed
+478 -162

No files matched your search

+6
View File
@@ -2,6 +2,12 @@
Release history focused on **features, settings, default behavior, compatibility and fixes**. Changes to internal code structure and preliminary performance experiments are intentionally omitted. Historical descriptions reflect their respective releases; consult the current documentation for the settings available in the latest release.
## Unreleased — Docker agent resource safeguards (0.38.6 source patch)
- **Docker-agent memory and connection safety:** reuse pooled Docker API connections (bounded idle and active connections), cap concurrent inventory requests at two (HTTP 503 with `Retry-After: 1`), fetch container details with eight workers and cache them for 15 seconds. Every published port of one container now receives the same CPU, RAM and restart details.
- **Safer enrollment and polling:** global constant-memory rate limit for one-time enrollment (burst of six attempts, one refill per second; HTTP 429 with `Retry-After: 1`), shorter collector locks during Docker API/public IP calls, and bounded HTTP read/write timeouts.
- **Agent diagnostics:** authenticated on-demand `GET /v1/diagnostics` returns RSS, Go heap allocation, goroutine count and Linux open file descriptor count without exposing process details at `/healthz`. Rebuild and restart the Docker agent to activate this source-only patch; these changes are not part of the original 0.38.6 release.
## 0.38.6 — chart crosshair and editor layout
Panel-only release: no configuration, API or proxy behavior changes.