경고 값 위젯

경고 값은 쿼리 값들이며 해당 값들은 시스템에 정의된 메트릭 모니터에 있는 메트릭의 현재 값을 표시하는 쿼리 값입니다.

경고 값

구성

경고 값 구성

설정

  1. 이전에 만든 메트릭 모니터를 선택하여 그래프로 표시하세요.
  2. 표시할 형식을 선택하세요.
    • 원시 값
    • 0/1/2/3 소수점
  3. 표시하려면 선택하세요.
    • Automatic
    • /s 초당
    • b 비트
    • B 바이트
    • Custom

옵션

타이틀

Show a Title 확인란을 활성화하여 위젯의 커스텀 타이틀을 표시하세요.

위젯 타이틀

선택적으로 크기와 정렬을 정의할 수 있습니다.

API

이 위젯은 Dashboards 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"
}

참고 자료

Additional helpful documentation, links, and articles: