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

[Feature] Add retries and timeouts for kibana/fleet resources #780

Open
tehbooom opened this issue Sep 19, 2024 · 0 comments
Open

[Feature] Add retries and timeouts for kibana/fleet resources #780

tehbooom opened this issue Sep 19, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@tehbooom
Copy link
Member

Is your feature request related to a problem? Please describe.
When making multiple requests or very large requests to the Kibana API you will sometimes receive a 503 timeout since Kibana is single threaded. You must wait for the Kibana API to be available before each request

Describe the resource you would like to have implemented.
For all Fleet and Kibana resources add the option for retries and timeouts for each resource or globally for all resources.

Describe the solution you'd like
Using terraform's retries and timeout we should be able to wait for the kibana API to be available as it takes no longer than 15-30 seconds for it finish processing what it needs to from my testing.

Describe alternatives you've considered
Set parallelism very low to maybe 2-3 might help. I find it more stable to add a depends_on when hitting the Kibana API. Specifically for when I'm creating the Agent Policies and Defend Integrations.

Additional context
Add any other context or screenshots about the feature request here.

@tehbooom tehbooom added the enhancement New feature or request label Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant