この記事はエムスリー Advent Calendar 2022 14日目の記事です。 AI・機械学習チームの北川(@kitagry)です。 最近猫を飼い始めました。可愛くて仕方がありません。 元々全然外に出なかったのに、引きこもりが加速されています。 今回は去年、新卒1年目の時に引き継いだアラートだらけのシステムを黙らせた話について書きます。 おもちゃを枕にして寝る猫 引き継いだプロダクトについて 急成長するプロダクトとそれに伴う痛み 一日に20回近く鳴るアラート エンジニアでは対応出来ない場合には編集部向けにアラートを飛ばす 無視しても良いエラーについてはそもそも出さない 結果 システムの開発や横展開によるコードのレガシー化 クラスの責務が分離されていないコードがある 仕様が失われており、ビジネス制約がわからない 結果 変更に対して自信が持てるようになりアジリティが上がった 勝手にテスト