Skip to content

Add remote write protocol 2.0 support #9072

Open
@dimitarvdimitrov

Description

@dimitarvdimitrov

What should we do?

Prometheus added remote write protocol 2.0 experimental support in v2.54.0 (released on 2024-08-09). We should add the support in Mimir too.

How will we do it (roughly)?

  • Add remote write 2.0 support in Mimir distributors
  • Backport all (applicable) optimizations we did to remote write 1.0 (un)marshalling
  • Compare performance between remote write 1.0 and 2.0
  • Allow to enable 2.0 support on a per-tenant basis

Private design doc: https://docs.google.com/document/d/1JSwhdWRODOeGlNIRpYvnEHK6aH7d42n4ZJ_rfFvt-Lo/edit?tab=t.0#heading=h.5sybau7waq2q

Out of the scope of this work:

  • Change data format between distributors and ingesters / Kafka (keep using protocol 1.0 format). This should be a follow up deliverable.

Size?

Between Medium (= ~1 month) and Large (= ~3 month).

What will we deliver?

  • Add remote write 2.0 experimental support in Mimir, fully merged in Mimir but disabled by default
  • Test remote write 2.0 in dev

What are the documentation dependencies?

  • No documentation changes to docs until enabled by default

Urgency?

Not urgent yet, but we can't lag too much behind Prometheus

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions