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

Target allocator support for other receivers than Prometheus #8341

Open
decimalst opened this issue Aug 30, 2023 · 0 comments
Open

Target allocator support for other receivers than Prometheus #8341

decimalst opened this issue Aug 30, 2023 · 0 comments

Comments

@decimalst
Copy link

decimalst commented Aug 30, 2023

Is your feature request related to a problem? Please describe.
Hey folks, I am reviewing the documentation for scaling the Opentelemetry collector here.
In my use case, we have an arbitrary number of prometheus metrics to scrape, so the target allocator is useful since we can horizontally scale to meet our load. However, I was hoping we could use the same tool for other scraping receivers, such as Redis or databases that require authentication.

Describe the solution you'd like
Adding support for other receivers in target allocator.

Describe alternatives you've considered
I took a look at how the Prometheus target allocator works, and it seems it relies on Prometheus's HTTP service discovery feature to function. I am not sure if the right path is to add a service discovery method to other receivers. It would be nice if something similar could be accomplished with a centralized service that does some sort of "pass through" of connection requests to a list of targets without needing to modify every receiver we might want to support service discovery. Maybe I’m just describing a service gateway?

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

No branches or pull requests

1 participant