그룹 위젯을 사용하면 타임보드에 있는 유사한 그래프들을 함께 보관할 수 있습니다. 각 그룹에는 커스텀 헤더가 있고, 일대다 그래프를 보유할 수 있으며, 접을 수도 있습니다.
구성
그룹의 오른쪽 상단 모서리에 있는 톱니바퀴 아이콘을 사용하여 그룹 이름을 선택하세요.
API
이 위젯은 대시보드 API와 함께 사용할 수 있습니다. 자세한 내용은 대시보드 API 가이드를 참조하세요.
변경 위젯의 전용 위젯 JSON 스키마 정의는 다음과 같습니다.
Expand All
Background color of the group title.
URL of image to display as a banner for the group.
Layout type of the group.
Allowed enum values: ordered
Whether to show the title or not.
default: true
How to align the text on the widget.
Allowed enum values: center,left,right
Type of the group widget.
Allowed enum values: group
default: group
The layout for a widget on a free
or new dashboard layout dashboard.
The height of the widget. Should be a non-negative integer.
Whether the widget should be the first one on the second column in high density or not.
Note: Only for the new dashboard layout and only one widget in the dashboard should have this property set to true
.
The width of the widget. Should be a non-negative integer.
The position of the widget on the x (horizontal) axis. Should be a non-negative integer.
The position of the widget on the y (vertical) axis. Should be a non-negative integer.
{
"background_color": "string",
"banner_img": "string",
"layout_type": "ordered",
"show_title": false,
"title": "string",
"title_align": "string",
"type": "group",
"widgets": [
{
"definition": {
"requests": {
"fill": {
"q": "avg:system.cpu.user{*}"
}
},
"type": "hostmap"
},
"id": "integer",
"layout": {
"height": 0,
"is_column_break": false,
"width": 0,
"x": 0,
"y": 0
}
}
]
}
참고 자료
Additional helpful documentation, links, and articles: