SLOs (service-level objectives) are an agreed-upon target that must be achieved for each activity, function, and process to provide the best opportunity for customer success. SLOs represent the performance or health of a service.

The SLO List widget displays a subset of SLOs over their primary time window. All other configured time windows are available in the SLO’s side panel on the SLO page. For more information, see the SLO documentation.

The SLO List widget displaying a list of SLOs

セットアップ

A search query defining the service as web-store in the SLO List widget editor

構成

  1. ダッシュボードに SLO リストウィジェットを追加します。
  2. タグを使用して、SLO の一覧をフィルターします (service:foo, env:prod など)。テンプレート変数がサポートされています。
  3. 表示する SLO の最大数 (デフォルトは 100) を選択し、ステータスまたはエラーバジェットのいずれかでソートします。
  4. オプションでウィジェットのタイトルを指定します。

ウィジェットを作成する準備ができたら、Save をクリックします。

API

このウィジェットは Dashboards API で使用できます。ウィジェット JSON スキーマ定義については、以下の表を参照してください。

Expand All

フィールド

種類

説明

requests [required]

[object]

Array of one request object to display in the widget.

query [required]

object

Updated SLO List widget.

limit

int64

Maximum number of results to display in the table.

default: 100

query_string [required]

string

Widget query.

sort

[object]

Options for sorting results.

column [required]

string

Facet path for the column

order [required]

enum

Widget sorting methods. Allowed enum values: asc,desc

request_type [required]

enum

Widget request type. Allowed enum values: slo_list

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 the title.

type [required]

enum

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"
}

その他の参考資料

PREVIEWING: evan.li/clarify-agentless