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

Not reporting on all Spark clusters #36

Open
sdewitt-newrelic opened this issue Oct 1, 2024 · 0 comments
Open

Not reporting on all Spark clusters #36

sdewitt-newrelic opened this issue Oct 1, 2024 · 0 comments

Comments

@sdewitt-newrelic
Copy link
Contributor

sdewitt-newrelic commented Oct 1, 2024

When listing all clusters at the start of the spark collection, we use ListAll instead of List, which does not allow for pagination. So we are missing clusters. Need to use List with the listing.Iterator instead.

When we do this, it will significantly increase the time of PollMetrics. But we have to pull the list each time in case clusters have changed state or have been terminated, or new ones started. What should we do to account for this? Can we use a filter when we call List?

We could also add the option to specify a list of cluster IDs instead of automatic discovery.

@sdewitt-newrelic sdewitt-newrelic converted this from a draft issue Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant