fix(fleet): page only host-global OOM and survive observer restart - #396
Merged
Conversation
vmstat oom_kill includes memory-cgroup envelope hits, and PromQL increase treats a republished boot total as a burst of new kills. Count CONSTRAINT_NONE from the journal and alert on the in-window span. Co-authored-by: Cursor <cursoragent@cursor.com>
Source 40a8402, built twice with CGO_ENABLED=0 go build -trimpath -buildvcs=false -ldflags "-buildid= -s -w -X main.version=v0.1.5-nddev.122 -X main.commit=<source>"; both builds agree on 8997d4f18550bdb94805cfe981390fb4ab2104460bb513f6c95017fac8b1a38b. Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
Author
|
Provider compiles hostprobe, so CI correctly refused source drift. Second commit is v0.1.5-nddev.122 from source 40a8402, two identical rebuilds at 8997d4f18550bdb94805cfe981390fb4ab2104460bb513f6c95017fac8b1a38b. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
gha_fleet_host_oom_kills_totalnow counts host-globalCONSTRAINT_NONEkills from the kernel journal. Memory-cgroup kills stay out of admission and out ofhost_oom_detected.host_oom_detectedpages on the in-window span of that counter, notincrease(). Observer restart republishing the boot total was paging 4 and 3 with no dmesg.make build-controllerstampsgha-pressure-observerwith the same version/commit as the other host binaries.Test plan
go test ./...in the public modulegha-fleet+gha-pressure-observer+gha-fleet-observer+ rules, reconcile OpenObserve, pin hashes in a new estate audit. Do not rewrite historical identity records. Do not mark go-cache-prewarm applied.