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

Instances in UI - fetch all in a single query #2537

Open
wants to merge 27 commits into
base: main
Choose a base branch
from

Conversation

BenElferink
Copy link
Contributor

@BenElferink BenElferink commented Mar 6, 2025

Description

This PR changes the way we get the instances/healthy condition for instrumented workloads.

Previously we would get them in the same query as paginated instrumentation configs, then we changed it so we would 1st paginate the instrumentation configs, and then get the instances for each workload individually. This definitely improved load-time for instrumented workloads in the UI, but still acted up with instances.

So now, we finish paginating instrumentation configs, and then we get all instances in a single query.

How Has This Been Tested?

  • Manual Testing

Kubernetes Checklist

  • Introduces additional calls to the API Server (potential performance impact)

Copy link

@BenElferink BenElferink changed the title Instances in UI - fetch all in a single query (with goroutine) Instances in UI - fetch all in a single query Mar 10, 2025
@alonkeyval alonkeyval self-requested a review March 10, 2025 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants