SLO 목록 위젯은 쿼리를 기반으로 SLO의 하위 집합을 표시합니다.
설정
설정
- 대시보드에 SLO 목록 위젯을 추가합니다.
- 태그를 사용하여 SLO 목록을 필터링합니다(예:
service:foo, env:prod
). 템플릿 변수가 지원됩니다. - 표시할 최대 SLO 수를 선택합니다(기본값은 100). 가장 최근에 생성된 SLO가 목록 상단에 나타납니다.
- (선택 사항) 위젯에 타이틀을 지정합니다.
위젯을 만들 준비가 되면 Save를 클릭합니다.
API
이 위젯은 Dashboards API와 함께 사용할 수 있습니다. 자세한 내용은 대시보드 API 가이드를 참조하세요.
SLO 목록 위젯의 전용 위젯 JSON 스키마 정의는 다음과 같습니다.
Expand All
Array of one request object to display in the widget.
Maximum number of results to display in the table.
default: 100
Options for sorting results.
Facet path for the column
Widget sorting methods.
Allowed enum values: asc,desc
Widget request type.
Allowed enum values: slo_list
How to align the text on the widget.
Allowed enum values: center,left,right
Type of the SLO List widget.
Allowed enum values: slo_list
default: slo_list
{
"requests": [
{
"query": {
"limit": "integer",
"query_string": "env:prod AND service:my-app",
"sort": [
{
"column": "",
"order": "desc"
}
]
},
"request_type": "slo_list"
}
],
"title": "string",
"title_align": "string",
"title_size": "string",
"type": "slo_list"
}
Additional helpful documentation, links, and articles: