Skip to content
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

prombench: Remote Write receiver tester CLI #766

Closed
bwplotka opened this issue Oct 14, 2024 · 5 comments
Closed

prombench: Remote Write receiver tester CLI #766

bwplotka opened this issue Oct 14, 2024 · 5 comments

Comments

@bwplotka
Copy link
Member

I propose we created dedicated testing CLI that will allow us:

  • Test basic remote write expectation (shape of the data sent, or only if it's parsable)
  • It will allow injecting different ingestion errors or behavior (different err codes, fake "delays", partial writes)
  • It will be fast enough, so if needed we benchmark Prometheus sending not the performance of the receiver trying to catch up with the load.

One could use Prometheus with receive enabled, but it won't solve all the above goals.

@bwplotka
Copy link
Member Author

I wrote some quick sink for PRW benchmarking, in personal repo for now, but contributors welcome (can give you access). The idea is that it will work against other protocols too, but we could consider moving it to Prometheus org if useful for Prom scope only.

https://github.com/bwplotka/sink

I am not saying we have to use for prombench, but something useful and to consider for some remote-write mode.

@bwplotka
Copy link
Member Author

I assume https://github.com/bwplotka/sink fixes this issue, until we find otherwise (e.g. that we have to have it outside of my personal repo)

@kushalShukla-web
Copy link
Contributor

@bwplotka, has this issue been closed?

@bwplotka
Copy link
Member Author

Have you seen this comment? #766 (comment)

@kushalShukla-web
Copy link
Contributor

Hi @bwplotka i have created a basic Deployment file to use Sink in prombench. Here #787 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants