Commit Graph

5 Commits

Author SHA1 Message Date
Adi
b4b2118933 feat: add cpu limit to docker, podman and lxd containers 2026-05-15 17:32:25 +03:00
Christian Rishøj
34943bae5c #3524 suppress Codacy asserts/D203 warnings in new tests 2026-04-16 18:12:18 +02:00
Christian Rishøj
c68f1fc52e #3524 fix LXD container filter excluding standalone instances
connect() unconditionally stored server_name as local_node, and
update() filtered instances whose location did not match. On a
standalone LXD host, instance.location is empty, so every container
was dropped and the user saw no LXD stats at all.

Gate the filter on environment.server_clustered — only apply the
cluster-member filter when the daemon reports itself as clustered.
Also promote the connect() failure log from debug to error so that
future connectivity issues are visible in the default log.
2026-04-16 18:06:45 +02:00
nicolargo
b6a694f38f Add export to ClickHouse #3320 2026-03-22 10:15:17 +01:00
Christian Rishøj
139506b109 #3480 add unit tests for LXD container engine
- TestLxdStatsFetcher: CPU delta, memory fallback, network loopback exclusion, thread lifecycle
- TestLxdExtensionGenerateStats: stopped/running instances, proxy device ports, image config
- TestLxdExtensionUpdate: running filter, all_tag, cluster node filter, cleanup of removed instances

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-15 19:09:44 +01:00