경고 값 위젯

알림 값 위젯에는 간단 알림 메트릭 모니터의 현재 쿼리 값을 표시합니다. 간단 알림 모니터에는 그룹화되지 않고 값을 하나만 반환하는 메트릭 쿼리가 있습니다. 대시보드에 알림 값 위젯을 사용해 모니터 동작과 알림 상태의 개요를 확인할 수 있습니다.

디스크 공간, 높은 CPU, 구매 오류율의 상태 모니터를 나타내는 알림 값 위젯 3개

설정

높은 CPU 모니터의 알림 값 설정 페이지

설정

  1. 그래프로 만들 기존 메트릭 모니터를 선택하세요.
  2. 표시할 형식을 선택하세요.
    • 10진수
    • 유닛
    • 맞춤
  3. 그래프 이름을 입력하세요.

API

이 위젯을 **대시보드 API**와 함께 사용할 수 있습니다. 위젯 JSON 스키마 정의와 관해서는 다음 테이블을 참고하세요.

Expand All

항목

유형

설명

alert_id [required]

string

ID of the alert to use in the widget.

description

string

The description of 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": "",
  "description": "string",
  "precision": "integer",
  "text_align": "string",
  "title": "string",
  "title_align": "string",
  "title_size": "string",
  "type": "alert_value",
  "unit": "string"
}

참고 자료

추가 유용한 문서, 링크 및 기사: