Currently CirrusSearch index operations might fail silently. While we expect some index operations to fail from time to time we should have better visibility on their rate but also better way to investigate the type of failures.
As of today we know we could fail because:
- when a new wiki is added the corresponding index might be missing
- a bug in opensearch or some of our plugin could cause some pages to constantly fail (T402220)
But the main problem is that we generally find these problems by "accident". We should have better ways to be aware of these issue.
AC:
Add a "SLO" like dashboard to track index failures could help (e.g. search update lag)- does not seem worth the efforts we seem to have 0 errors in the last 12 hours, it might be perhaps be fine to be strict on alerting rather than having SLO.
- Add some alerting either via the pyrra or alert manager
- Add more logging from the streaming updater to send indexing errors to logstash