Skip to content

Deduplicate metadata in Prometheus Remote Write 2.0 requests - #7760

Open
SungJin1212 wants to merge 1 commit into
masterfrom
dedup-rw2-metadata
Open

Deduplicate metadata in Prometheus Remote Write 2.0 requests#7760
SungJin1212 wants to merge 1 commit into
masterfrom
dedup-rw2-metadata

Conversation

@SungJin1212

Copy link
Copy Markdown
Member

What this PR does:
Deduplicate metric metadata when converting Prometheus Remote Write 2.0 requests. PRW 2.0 attaches metadata to every series, so a metric family was previously expanded into one MetricMetadata per series.
Because metadata counts towards the ingestion rate limit, tenants using remote write 2.0 consumed roughly twice their configured -distributor.ingestion-rate-limit for the same data.

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]
  • docs/configuration/v1-guarantees.md updated if this PR introduces experimental flags

Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
@SungJin1212 SungJin1212 changed the title Deduplicate metric metadata in Prometheus Remote Write 2.0 requests Deduplicate metadata in Prometheus Remote Write 2.0 requests Aug 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant