SearchAPI and Opensearch alerts and monitoring
As described in GOV.UK Search: How it works there are two search stacks on GOV.UK. This page includes information on the monitoring and alerting for Search API and its Opensearch cluster.
Monitoring and alerting tools
Sentry
Sentry is set up to track application errors from Search API.
All environments are configured for Slack notifications. Production alerts are routed to #govuk-search-alerts, while alerts for other environments are sent to #govuk-search-alerts-nonprod.
Kibana
Kibana can be used to query application logs as per all other GOV.UK apps.
Grafana
The GOV.UK Search API v1 Grafana dashboard visualizes core metrics for Search API and Finder Frontend.
Alert types and how to handle them
Search API success rate and latency alerts
There are currently no alerts configured for SearchAPI, the Search Team has prioritized implementation of Search API alerts for Q3 26/27.
Opensearch Cluster health alerts
Opensearch cluster health monitoring is available, and is described at Opensearch Cluster Health
We have the following alerts configured:
SearchApiClusterStatus triggers if the status is unavailable, yellow or red. See Fixing issues with the cluster
SearchApiElasticsearchDiskSpace triggers if disk space drops below 30% (warning level) or 10% (critical level). Consider increasing storage capacity if this alert fires.