Skip to content

fix(pattern): Fix feature flag for enabling pattern persistence #18215

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 24, 2025

Conversation

chaudum
Copy link
Contributor

@chaudum chaudum commented Jun 24, 2025

What this PR does / why we need it:

PR #17737 introduced a feature to persist detected patterns on the pattern ingesters. And while there is a dedicated global config PatternPersistence and a per-tenant config PatternPersistenceEnabled, none of these were honoured, because for writing the patterns to the distributor, the same writer (and its config) as for persisting aggregated metrics is used. So, when aggregated metrics is enabled, also patterns were automatically written/persisted as well.

@chaudum chaudum requested a review from a team as a code owner June 24, 2025 14:09
Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
@chaudum chaudum force-pushed the chaudum/fix-pattern-persistence-k259 branch from d969ce7 to 39d047d Compare June 24, 2025 14:22
@chaudum chaudum requested a review from paul1r June 24, 2025 14:22
@chaudum chaudum enabled auto-merge (squash) June 24, 2025 14:29
@chaudum chaudum merged commit a5fa6f9 into k259 Jun 24, 2025
65 checks passed
@chaudum chaudum deleted the chaudum/fix-pattern-persistence-k259 branch June 24, 2025 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants