LoginSignup
4
5

More than 3 years have passed since last update.

NewRelicのAlerts設定まとめ

Last updated at Posted at 2018-03-27

New RelicのAlertsは最低限このくらいは設定しといたら? と思うAlert conditionsをざっとまとめます.
たぶんそのうち追加したりします.

APM APPLICATION METRIC

Apdex(Low)

:x: Apdex < 0.85 for at least 5mins
:warning: Apdex < 0.90 for at least 5mins

補足

Apdexのスコアは平常時で0.95になるようにTを調整する運用をしているのでこういう塩梅の設定にしています.

「平常時で0.95になるようにTを調整する運用」についてはこちらの記事で紹介しています.
New Relicで複数のWebサービスの速度品質を比較したりKPI化したりする試み

Error percentage (High)

:x: Error percentage > 5% for at least 5 mins
:warning: Error percentage > 3% for at least 5 mins

Response time (web) (High)

:x: Response time(web) > 0.5 secs for at least 5mins
:warning: Response time(web) > 0.3 secs for at least 5mins

SYNTHETICS MONITOR FAILURE

Check Failure

:x: Monitor check failure

補足

SYNTHETICSの設定画面にある
Advanced Options → Redirect is Failure
の項目は大抵の場合チェックを付けておいたほうが良いと思います. たぶん.

INFRASTRUCTURE METRIC

INFRASTRUCTUREの設定についてはAlertsのコンソールからでなくINFRASTRUCTUREのコンソールから設定していきます.

cpu

:x: cpuPercent > 80 for at least 5mins
:warning: cpuPercent > 60 for at least 5mins

disk used

:x: diskUsedPercent > 80 for at least 5mins
:warning: diskUsedPercent > 60 for at least 5mins

disk utilization

:x: diskUtilizationPercent > 80 for at least 5mins
:warning: diskUtilizationPercent > 60 for at least 5mins

memory

:x: memoryUsedBytes/memoryTotalBytes*100 > 80 for at least 5mins
:warning: memoryUsedBytes/memoryTotalBytes*100 > 60 for at least 5mins

4
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
5