Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Profiling] Fix set up process (#167067)
So clients reported that they got stuck in the set up screen In the Universal Profling UI. And when the set up button was clicked an error happened: ``` An integration policy with the name elastic-universal-profiling-collector already exists. Please rename it or choose a different name. ``` This happens because when we were checking if the Collector and Symbolizer integrations were installed we weren't taking into consideration that the Fleet API is paginated. So if neither integration was available on the first page we just assumed the Profiling wasn't set up. This PR fixes it by adding a kuery filter in the Fleet API call to only look for out integrations. So we don't need to worry about paginating.
- Loading branch information