Skip to content

Conversation

@mkusumdb
Copy link
Collaborator

@mkusumdb mkusumdb commented Feb 3, 2026

  • I added CHANGELOG entry for this change.
  • Change is not relevant to the end user.

Changes

Verification

  - Fixed handler to use HTTP header tenant when split label is missing
  - Updated test expectations to use full tenant ID format
  - All e2e tests passing with memory heap optimizations
Copy link
Collaborator

@yuchen-db yuchen-db left a comment

Choose a reason for hiding this comment

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

lgtm. how much saving of cpu/memory did you observe?

// 2. Async remote write goroutines may still reference the labels
// 3. Even local writes need detached labels for TSDB storage
// Use the same intern setting as the writer to ensure consistent behavior.
for i := range wreq.Timeseries {
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: we might want to do the same for exemplars as well

@yuchen-db yuchen-db changed the title Kusum madarasu data/heapoptltd receive: reduce allocations with buffer pooling and enforce streaming size limits Feb 3, 2026
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.

2 participants