Skip to content

Conversation

Signed-off-by: pipiland2612 <[email protected]>
@pipiland2612
Copy link
Author

cc @bwplotka

@bwplotka
Copy link
Member

bwplotka commented Oct 3, 2025

Thanks. I checked and those things are only used because we didn't fully switch to the remote API from this library.

If we would switch sending parts in Prometheus as well, we would not need to make those methods public. This means that once we switch to Prometheus this change would not be needed and as a result we would need to either leave an unclean API (leaving things that should not be used outside of the library) or revert, right? Is that really a correct approach? Or should we either, on Prometheus code:

  1. Not remove write response structure, so it can be used on sender (for now, we will remove later)
  2. Move fully in one atomic PR to this lib including sending (some might say it's risky, but maybe it's fine)

I'd vote for (1)

WDYT? @pipiland2612 @saswatamcode

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.

See comment above, let's see if we could avoid this.

@saswatamcode
Copy link
Member

Yup, I would vote for 1 to do it in pieces.

@pipiland2612
Copy link
Author

Hi @bwplotka, thanks for suggesting. The choice (1) seems reasonable to me.

@pipiland2612 pipiland2612 deleted the public_method branch October 4, 2025 12:43
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.

3 participants