Skip to content

chore: bump ingestion limits#7034

Merged
javiermolinar merged 2 commits intomainfrom
bump-ingestion-limits
Apr 22, 2026
Merged

chore: bump ingestion limits#7034
javiermolinar merged 2 commits intomainfrom
bump-ingestion-limits

Conversation

@javiermolinar
Copy link
Copy Markdown
Contributor

@javiermolinar javiermolinar commented Apr 22, 2026

What this PR does:
it bumps the ingestion limits to make more straighforward testing Tempo without running into limits

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]

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 22, 2026

💻 Deploy preview deleted (chore: bump ingestion limits).

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Bumps the default per-tenant ingestion rate limit and burst size for the distributor, and updates tests/docs to reflect the new defaults.

Changes:

  • Increase default rate_limit_bytes from 15MB/s to 30MB/s.
  • Increase default burst_size_bytes from 20MB to 30MB.
  • Update configuration/troubleshooting docs and add a unit test to lock in the new defaults.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
modules/overrides/config.go Updates the default distributor ingestion rate and burst flag defaults to 30e6.
modules/overrides/config_test.go Adds a test asserting the new default ingestion limits are applied.
docs/sources/tempo/troubleshooting/send-traces/max-trace-limit-reached.md Updates the troubleshooting example error to use 30,000,000 bytes.
docs/sources/tempo/configuration/manifest.md Updates the rendered config manifest defaults for ingestion limits.
docs/sources/tempo/configuration/_index.md Updates the documented defaults and examples for ingestion rate strategy/limits.

Comment on lines +380 to +381
f.IntVar(&c.Defaults.Ingestion.RateLimitBytes, "distributor.ingestion-rate-limit-bytes", 30e6, "Per-user ingestion rate limit in bytes per second.")
f.IntVar(&c.Defaults.Ingestion.BurstSizeBytes, "distributor.ingestion-burst-size-bytes", 30e6, "Per-user ingestion burst size in bytes. Should be set to the expected size (in bytes) of a single push request.")
Copy link

Copilot AI Apr 22, 2026

Choose a reason for hiding this comment

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

MEDIUM: This changes the default ingestion rate/burst limits, which is a user-facing behavior change. Could you add a corresponding entry under ## main / unreleased in CHANGELOG.md (following the existing category/order format) so operators see the new defaults in release notes?

Copilot uses AI. Check for mistakes.
Comment on lines 1957 to +1967
# Results in errors like
# RATE_LIMITED: ingestion rate limit (15000000 bytes) exceeded while
# RATE_LIMITED: ingestion rate limit (30000000 bytes) exceeded while
# adding 10 bytes
[rate_limit_bytes: <int> | default = 15000000 (15MB) ]
[rate_limit_bytes: <int> | default = 30000000 (30MB) ]

# Burst size (bytes) used in ingestion.
# Results in errors like
# RATE_LIMITED: ingestion rate limit (20000000 bytes) exceeded while
# RATE_LIMITED: ingestion rate limit (30000000 bytes) exceeded while
# adding 10 bytes
# Ignores rate strategy and is always local.
[burst_size_bytes: <int> | default = 20000000 (20MB) ]
[burst_size_bytes: <int> | default = 30000000 (30MB) ]
Copy link

Copilot AI Apr 22, 2026

Choose a reason for hiding this comment

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

MEDIUM: The RATE_LIMITED error examples here don't match the current distributor error text. In modules/distributor/distributor.go the message includes local/global bytes/s and burst (and user), e.g. ingestion rate limit (local: ... bytes/s, global: ... bytes/s, burst: ... bytes) .... Since this section is being updated anyway, could we align the example to the actual message (same issue also appears in the troubleshooting page that shows the log line)?

Copilot uses AI. Check for mistakes.
@javiermolinar javiermolinar merged commit e132c61 into main Apr 22, 2026
29 checks passed
@javiermolinar javiermolinar deleted the bump-ingestion-limits branch April 22, 2026 10:28
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