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] Apply relabel configs to targets prior to allocation #1064

Closed
kelseyma opened this issue Aug 29, 2022 · 1 comment · Fixed by #1127
Closed

[target-allocator] Apply relabel configs to targets prior to allocation #1064

kelseyma opened this issue Aug 29, 2022 · 1 comment · Fixed by #1127
Labels
area:target-allocator Issues for target-allocator

Comments

@kelseyma
Copy link
Contributor

Can the target allocator apply the relabel configs prior to allocation so we can drop any unnecessary targets? This would also help reduce load on the collectors and ensure that the allocation is more evenly distributed.
For example in the test setup I have, the /metrics endpoint says the TA is allocating 36 targets, but only 3 of those targets are actually valid based on the relabel configs I set.

@jaronoff97
Copy link
Contributor

jaronoff97 commented Aug 29, 2022

Hey Kelsey! Thank you for submitting this issue, definitely something I've been thinking about too. My team can take a look at implementing this behavior. Not sure when we'll get to it, we may have some time in the coming weeks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:target-allocator Issues for target-allocator
Projects
None yet
3 participants