アラート値ウィジェット

アラート値は、システムで定義されているシンプルアラート型メトリクスモニター内のメトリクスの現在値を表示するクエリ値です。

ディスク容量、CPU 高使用率、チェックアウトエラー率の 3 種類のモニターステータスを示す 3 つのアラート値ウィジェット

セットアップ

CPU 高使用率に関するアラート値のセットアップページ

コンフィギュレーション

  1. グラフ化する既存のメトリクスモニターを選択します。
  2. 表示に使用する書式を選択します。
    • 小数点以下の桁数
    • 単位
    • 配置
  3. グラフにタイトルをつけます。

API

このウィジェットは、ダッシュボード API とともに使用できます。詳しくは、ダッシュボード API ドキュメントをご参照ください。

アラート値ウィジェット専用のウィジェット JSON スキーマ定義は次のとおりです。

Expand All

フィールド

種類

説明

alert_id [required]

string

ID of the alert to use in the widget.

precision

int64

Number of decimal to show. If not defined, will use the raw value.

text_align

enum

How to align the text on the widget. Allowed enum values: center,left,right

title

string

Title of the widget.

title_align

enum

How to align the text on the widget. Allowed enum values: center,left,right

title_size

string

Size of value in the widget.

type [required]

enum

Type of the alert value widget. Allowed enum values: alert_value

default: alert_value

unit

string

Unit to display with the value.

{
  "alert_id": "",
  "precision": "integer",
  "text_align": "string",
  "title": "string",
  "title_align": "string",
  "title_size": "string",
  "type": "alert_value",
  "unit": "string"
}

その他の参考資料

お役に立つドキュメント、リンクや記事: