Skip to content

promtool: Add Remote Write 2.0 support to push metrics command#17417

Merged
bwplotka merged 7 commits intoprometheus:mainfrom
pipiland2612:promtool_v2
Oct 31, 2025
Merged

promtool: Add Remote Write 2.0 support to push metrics command#17417
bwplotka merged 7 commits intoprometheus:mainfrom
pipiland2612:promtool_v2

Conversation

@pipiland2612
Copy link
Contributor

@pipiland2612 pipiland2612 commented Oct 28, 2025

Which issue(s) does the PR fix:

Does this PR introduce a user-facing change?

[FEATURE] Promtool: Add `--protobuf_message` flag to `promtool push metrics` to support Remote Write Protocol 2.0.

Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
@pipiland2612 pipiland2612 reopened this Oct 28, 2025
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.

Great! Looks good, just I'd be consistent with Prometheus config, even if a bit verbose. WDYT?

Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
@pipiland2612
Copy link
Contributor Author

Hi, thanks for suggesting. PTAL again I have solved it.

Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
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!

One nit, but we can merge without it. Release note has to change though, but I can updated it myself, unless you want to do it (it references wrong flag)

Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
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!

@bwplotka bwplotka merged commit 9f93c2d into prometheus:main Oct 31, 2025
28 checks passed
@pipiland2612 pipiland2612 deleted the promtool_v2 branch October 31, 2025 12:30
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