You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cadvisor/utils/oomparser currently returns an OomParser object with the underlying reader pointing to the head of /dev/kmsg. This returns all OOM events that are currently available in the kmsg buffer.
While this is desirable in certain cases, a user may wish to only subscribe to new OOM events that are occurring. The underlying reader supports a SeekEnd function that fast-forwards the offset to the end of the buffer.
This is a request to add a constructor that returns the OomParser object with the offset moved to the end of the kmsg queue.