fix(e2e): log-generator always-on, 5× more volume for stable pattern clustering#360
Open
szibis wants to merge 1 commit into
Open
fix(e2e): log-generator always-on, 5× more volume for stable pattern clustering#360szibis wants to merge 1 commit into
szibis wants to merge 1 commit into
Conversation
…clustering - Remove profiles:["ui"] — log-generator now starts with default compose up, patterns in Drilldown require continuous data flow so gating it behind a profile meant cold stacks never accumulated enough volume for clustering - LOG_INTERVAL 10→2, LOG_BATCH 8→15: ~75 lines/s total vs ~8.6 before. The pattern miner windows a 1h range into ~96 buckets of ~37s each; at the old rate each bucket had ~30 lines (too sparse for stable clusters), at the new rate each bucket has ~2775 lines — enough for consistent multi-window cluster acceptance and a continuous Drilldown timeline - Add GOMEMLIMIT=2GiB to loki-vl-proxy-patterns-autodetect, consistent with other proxy variants in the stack
Contributor
PR Quality ReportCompared against base branch Coverage and tests
Compatibility
Performance smokeLower CPU cost (
State
|
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
profiles: ["ui"]— log-generator now starts with plaindocker-compose up -d. It was gated behind a profile, so stacks started without--profile uihad zero data flowing → no patterns in Drilldown everGOMEMLIMIT=2GiBtoloki-vl-proxy-patterns-autodetect, consistent with other proxy variants in the stackRoot cause
The pattern miner requires ~200 lines per ~37s window to form stable clusters. At 8.6 lines/s the generator produced only ~30 lines per window —
windowAcceptedstayed near 0 and the proxy fell through to the persistence snapshot fallback. On a cold stack with no snapshot yet, the response was emptydata: []. Persistence only saves after a successful clustering run, so cold stacks were permanently stuck until manually primed.Test Plan
docker-compose up -d(no--profile ui) — log-generator starts automaticallyloki-vl-proxy-patterns-autodetect— patterns load from/cache/patterns-snapshot.jsonwithin 30s