Skip to content

[REFACTOR] Relabel: Remove unnecessary Process() function#17531

Merged
bboreham merged 1 commit intoprometheus:mainfrom
bboreham:remove-relabel-process
Feb 10, 2026
Merged

[REFACTOR] Relabel: Remove unnecessary Process() function#17531
bboreham merged 1 commit intoprometheus:mainfrom
bboreham:remove-relabel-process

Conversation

@bboreham
Copy link
Member

@bboreham bboreham commented Nov 13, 2025

All uses can be replaced by ProcessBuilder, which is more efficient because we can reuse the Builder.
(Now that #17530 is merged)

This might give mild disruption do downstream users, but I think the fix is easy to apply.

Does this PR introduce a user-facing change?

NONE

@bboreham bboreham marked this pull request as draft November 14, 2025 12:10
@bboreham bboreham force-pushed the remove-relabel-process branch from b142b00 to fb0d740 Compare December 16, 2025 11:01
@bboreham bboreham force-pushed the remove-relabel-process branch from fb0d740 to 98c5bec Compare January 6, 2026 13:49
All uses can be replaced by ProcessBuilder, which is more efficient.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
@bboreham bboreham force-pushed the remove-relabel-process branch from 98c5bec to 258fcbd Compare February 6, 2026 10:50
@bboreham bboreham marked this pull request as ready for review February 6, 2026 10:51
@bboreham bboreham requested a review from a team as a code owner February 6, 2026 10:51
@bboreham bboreham requested a review from cstyan February 6, 2026 10:51
Copy link
Member

@bwplotka bwplotka left a comment

Choose a reason for hiding this comment

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

Thanks (also used only in tests).

LGTM!

@bwplotka
Copy link
Member

bwplotka commented Feb 6, 2026

Failure looks relevant (:

image

@bboreham
Copy link
Member Author

bboreham commented Feb 6, 2026

I didn't change any code in remote-write. Re-running the tests.

@bboreham bboreham merged commit 7803b9f into prometheus:main Feb 10, 2026
53 of 54 checks passed
@bboreham bboreham deleted the remove-relabel-process branch February 10, 2026 11:31
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