- 重要な情報
- はじめに
- 用語集
- ガイド
- エージェント
- インテグレーション
- OpenTelemetry
- 開発者
- API
- CoScreen
- アプリ内
- Service Management
- インフラストラクチャー
- アプリケーションパフォーマンス
- 継続的インテグレーション
- ログ管理
- セキュリティ
- UX モニタリング
- 管理
Metric monitors are one of the most commonly used type of monitor. This guide clarifies the change alert detection method’s behavior and its additional options. Learn how change alert monitors work and how to troubleshoot change alert evaluations.
Here is a breakdown of how monitors with the change detection method work:
Here are the different options that you need to configure in a change alert monitor.
The example shows the following alert condition: The average of the change over 1 hour compared to 5 minutes
Options selected | Description | Options |
---|---|---|
average | The aggregation that is used on the query. | Average , Maximum , Minimum , Sum |
change | Choose between the absolute or percentage change of the value. | change or % change |
1 hour | The evaluation window. For more information, see the Monitor Configuration documentation. | This can be N minutes, hours, days, weeks, or at most one month. |
5 minutes | The timeframe that you wish to shift the query by. | This can be N minutes, hours, days, weeks, or at most one month ago. |
There are two options when configuring a change alert detection, Change and % Change.
This determines the way the monitor evaluates as expressed in the formula section in the following table:
Option | Description | Formula |
---|---|---|
Change | The absolute change of the value. | a - b |
% Change | The percentage change of the value compared to its previous value. | ((a - b) / b) * 100 |
In both cases, Change
, and % Change
can be either positive or negative.
To verify the results of your change alert evaluation, reconstruct the metric queries with a Notebook. Take this change alert monitor with the following settings.
Monitor Query:
pct_change(avg(last_5m),last_30m):<METRIC> > -50
This is a break down of the query with the following conditions:
((a - timeshift(a, -1800)) / timeshift(a, -1800)) * 100