Table of contents
This page describes what to do in case of an Icinga alert. For more information you could search the govuk-puppet repo for the source of the alert

High Search API Sidekiq queue latency

Search API uses Sidekiq to offload indexing work.

This alert triggers when there are jobs in the Sidekiq queue that are waiting too long to be processed. This could mean that documents aren’t appearing in search after they’ve been published.

Investigating the issue

The issue could be caused by a temporary spike in publishing activity, or something being wrong with Search API.

You can check the Sidekiq Grafana dashboard for Search API. Take a look at the “Retry set size” - this could mean that jobs are failing. You can then look at Sentry or Sidekiq web to see what’s going on.

This page was last reviewed on 26 March 2019. It needs to be reviewed again on 26 September 2019 by the page owner #govuk-2ndline .
This page was set to be reviewed before 26 September 2019 by the page owner #govuk-2ndline. This might mean the content is out of date.