Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use cached label sets (thanos-io#7420)
The distributed engine retrieves label sets once per query, and doing the expensive copying and conversion uses a lot of memory. We already set them in the format we need in the endpoint status, so we can retrieve them from there. Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>
- Loading branch information