Skip to content

fix(monitoring): limit jaeger-all-in-one in-memory trace storage to prevent OOM#17171

Open
rohansun wants to merge 1 commit intodatahub-project:masterfrom
rohansun:fix-jaeger-memory-limit
Open

fix(monitoring): limit jaeger-all-in-one in-memory trace storage to prevent OOM#17171
rohansun wants to merge 1 commit intodatahub-project:masterfrom
rohansun:fix-jaeger-memory-limit

Conversation

@rohansun
Copy link
Copy Markdown
Contributor

Problem

The jaeger-all-in-one container runs with no limit on the number of traces stored in its in-memory storage, which can lead to OOM and crash the host machine.
According to Jaeger’s official documentation, the in-memory storage has no default limit on the number of traces stored.

Fix

Added the MEMORY_MAX_TRACES=100000 environment variable to cap the number of traces stored in memory.
This value is based on the max-traces parameter example from Jaeger’s official documentation.

The MEMORY_MAX_TRACES environment variable is derived from the --memory.max-traces CLI flag by changing all letters to upper-case and replacing all punctuation characters with the underscore, per Jaeger's environment variable naming convention.

@github-actions github-actions Bot added the devops PR or Issue related to DataHub backend & deployment label Apr 24, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Linear: PFP-3508

Thanks for your contribution! We have created an internal ticket to track this PR. A member of the core DataHub team will be assigned to review it within the next few business days - you will get a follow-up comment once a reviewer is assigned.

@github-actions github-actions Bot added the community-contribution PR or Issue raised by member(s) of DataHub Community label Apr 24, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 24, 2026

Bundle Report

Bundle size has no change ✅

@maggiehays maggiehays added the needs-review Label for PRs that need review from a maintainer. label Apr 24, 2026
@github-actions github-actions Bot requested a review from david-leifker April 27, 2026 08:18
@github-actions
Copy link
Copy Markdown
Contributor

Your PR has been assigned to @david-leifker (david.leifker) for review (PFP-3508).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution PR or Issue raised by member(s) of DataHub Community devops PR or Issue related to DataHub backend & deployment needs-review Label for PRs that need review from a maintainer.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants