Skip to content

Conversation

@dcantah
Copy link
Contributor

@dcantah dcantah commented Jan 9, 2026

Expose a getMemoryEvents API on LinuxContainer and LinuxPod. This allows a user to grab the value of
the memory.events cg file at will. I think eventually we'll want a streaming variant of this so you can
get alerted of changes in the file immediately instead of polling/one off reads, but this is useful for now.

Expose a getMemoryEvents API on LinuxContainer and
LinuxPod. This allows a user to grab the value of
the memory.events cg file at will. I think eventually
we'll want a streaming variant of this so you can
get alerted of changes in the file immediately instead
of polling/one off reads, but this is useful for now.
@dcantah
Copy link
Contributor Author

dcantah commented Jan 11, 2026

Ok, I changed my mind. I think the events should just come along the ride in the statistics call we already have. However, I think we should allow filtering what stats a user actually wants in the call too. I'll change this pr

@dcantah dcantah marked this pull request as draft January 11, 2026 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant