Skip to content

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 added type/bug Somehing is not working as expected backport k260 labels Jun 24, 2025
@paul1r paul1r marked this pull request as ready for review June 24, 2025 19:52
@paul1r paul1r requested a review from a team as a code owner June 24, 2025 19:52
@paul1r paul1r merged commit c167800 into main Jun 24, 2025
68 checks passed
@paul1r paul1r deleted the chaudum/fix-pattern-persistence-main branch June 24, 2025 19:52
loki-gh-app bot pushed a commit that referenced this pull request Jun 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport k260 size/M type/bug Somehing is not working as expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants