1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-24 14:31:44 +01:00

chore: adds fully loaded to agent proto (#3787)

This commit is contained in:
Amir Raminfar
2025-04-09 17:33:44 -07:00
committed by GitHub
parent 6bb3777a64
commit a514168e45
7 changed files with 110 additions and 99 deletions

View File

@@ -269,6 +269,7 @@ func (c *Client) StreamNewContainers(ctx context.Context, containers chan<- cont
Command: resp.Container.Command,
MemoryLimit: resp.Container.MemoryLimit,
CPULimit: resp.Container.CpuLimit,
FullyLoaded: resp.Container.FullyLoaded,
}
}
}
@@ -307,6 +308,7 @@ func (c *Client) FindContainer(ctx context.Context, containerID string) (contain
Stats: utils.RingBufferFrom(300, stats),
MemoryLimit: response.Container.MemoryLimit,
CPULimit: response.Container.CpuLimit,
FullyLoaded: response.Container.FullyLoaded,
}, nil
}
@@ -354,6 +356,7 @@ func (c *Client) ListContainers(ctx context.Context, labels container.ContainerL
Stats: utils.RingBufferFrom(300, stats),
MemoryLimit: c.MemoryLimit,
CPULimit: c.CpuLimit,
FullyLoaded: c.FullyLoaded,
})
}