Skip to content

Assert max live traces limits in local-blocks processor#5170

Merged
mapno merged 2 commits intografana:mainfrom
mapno:assert-live-traces-generator
May 28, 2025
Merged

Assert max live traces limits in local-blocks processor#5170
mapno merged 2 commits intografana:mainfrom
mapno:assert-live-traces-generator

Conversation

@mapno
Copy link
Copy Markdown
Contributor

@mapno mapno commented May 28, 2025

What this PR does:

Asserts max live traces limit in in the non-queue implementation of the localblocks processor.

This helps protect the generator from excessive memory and CPU consumption.

Which issue(s) this PR fixes:
Fixes #

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@mapno mapno force-pushed the assert-live-traces-generator branch from 49b9231 to f651476 Compare May 28, 2025 11:44
Copy link
Copy Markdown
Collaborator

@joe-elliott joe-elliott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, i like the simplification of removing the config option and making both paths behave the same.

@mapno mapno merged commit ce7c227 into grafana:main May 28, 2025
19 checks passed
@mapno mapno deleted the assert-live-traces-generator branch May 28, 2025 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants