Skip to content

feat(rw2): prepare for RW2 support #11101

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 4, 2025
Merged

feat(rw2): prepare for RW2 support #11101

merged 4 commits into from
Apr 4, 2025

Conversation

krajorama
Copy link
Contributor

@krajorama krajorama commented Apr 3, 2025

Add the Remote Write 2.0 proto definition to mimirpb. The implementation of Remote Write 2.0 will follow but it needs to patch the generated files, so we commit the proto now to have actually readable diff in the PR that has the functionality.

See #11100 diff.

@krajorama krajorama force-pushed the krajo/rw2-proto branch 3 times, most recently from 75e43e8 to f8cdc7e Compare April 3, 2025 12:29
Add the RW2 proto definition to mimirpb. The implementation will follow
but it needs to patch the generated files, so we commit the proto now
to have actually readable diff in the PR that has the functionality.
See #10423 and especially #11100 diff.

Signed-off-by: György Krajcsovits <[email protected]>
@krajorama krajorama marked this pull request as ready for review April 3, 2025 13:58
@krajorama krajorama requested a review from a team as a code owner April 3, 2025 13:58
@aknuds1 aknuds1 added enhancement New feature or request component/distributor labels Apr 4, 2025
@aknuds1 aknuds1 requested a review from Copilot April 4, 2025 09:26
Copy link
Contributor

@Copilot 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.

Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.

Files not reviewed (1)
  • pkg/mimirpb/mimir.pb.go.expdiff: Language not supported
Comments suppressed due to low confidence (1)

pkg/util/test/shape.go:60

  • [nitpick] Consider removing the leading whitespace in the format string to avoid unexpected formatting in the output.
return fmt.Sprintf(" protobuf:%s,%s", tokens[0], tokens[1])

Copy link
Contributor

@aknuds1 aknuds1 left a comment

Choose a reason for hiding this comment

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

LGTM, sans Copilot comment.

krajorama and others added 2 commits April 4, 2025 15:39
Signed-off-by: György Krajcsovits <[email protected]>
@krajorama krajorama enabled auto-merge (squash) April 4, 2025 13:51
@krajorama krajorama merged commit 4a727c9 into main Apr 4, 2025
26 checks passed
@krajorama krajorama deleted the krajo/rw2-proto branch April 4, 2025 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants