Skip to content

Increase read_timeout of elasticsearch_http appender

What does this MR do and why?

Describe in detail what your merge request does and why.

Content

  • Increase read_timeout of elasticsearch_http appender

We've been seeing a lot of Net::ReadTimeout errors in job logs. This means that the reading of the response from ElasticSearch is taking longer than the current timeout of 5 seconds.

We can investigate if ElasticSearch response times have been increasing (gitlab-com/gl-infra/delivery#20027 (comment 1776798547)), but for now, this MR increases the timeout to 10 seconds to give release-tools more time to read the response from ElasticSearch.

Example error: https://ops.gitlab.net/gitlab-org/release/tools/-/jobs/12864336

gitlab-com/gl-infra/delivery#20027

Author Check-list

  • Has documentation been updated?
Edited by Reuben Pereira

Merge request reports