このリストウィジェットは、Logs、RUM、Events など、さまざまなソースから取得したイベントやインシデントを一覧表示します。ソースを検索およびクエリを実行して、ウィジェットでハイライト表示したいイベントを絞り込めます。
エラー追跡問題を表示するリストウィジェット
セットアップ
構成
グラフ化するデータの種類を選択してください。組織で利用可能な製品に応じて、Issues、Logs、Audit Trail、Watchdog Alerts、Events からリストウィジェットを作成できます。
ディスプレイの環境設定を行います。スクリーンボードとノートブックの場合にのみ、ウィジェットがカスタムタイムフレームを持つか、グローバルタイムフレームを使用するかを選択します。
オプション: グラフにタイトルを付けます (または、提案されたタイトルを使用するには空白のままにします)。
オプション
リストウィジェットの種類によって、それぞれ構成が異なります。
問題
ソート方法
問題については、以下でソートすることができます。
- エラー数 (デフォルト)
- 最初に遭遇
- 影響を受けたセッション
注: “Sorting by” の選択を変更しても、表示される列は変わりません。影響を受けたセッションでソートするようにリストを変更し、これをウィジェットに表示したい場合、グラフエディタに “Impacted Sessions” も選択または追加する必要があります。
Logs
グループ化
ログについては、以下でグループ化することができます。
RUM イベントリストオプション
ソート方法
RUM については、以下でソートすることができます。
- セッションタイプ
- 使用時間
- 表示回数
- エラー数
- アクション数
- セッションフラストレーション数
- 初期ビュー名
- 最終ビュー名
昇順または降順
イベント
レポートフォーマットのサイズ:
イベントについては、ウィジェットでの表示方法を選択することができます。
インシデント
ソート方法
インシデントの場合、以下の項目でソートが可能です。
昇順または降順
CD デプロイ
ソート方法
CD デプロイの場合、以下の項目でソートが可能です。
- デプロイステータス
- サービス
- デプロイ名
- 環境
- Duration
- リビジョン値
- Repository URL
- タイムスタンプ
昇順または降順
CI パイプライン
ソート方法
CI パイプラインの場合、以下の項目でソートが可能です。
- CI Status
- Pipeline Name
- Duration
- Pipeline ID
- Branch
- タイムスタンプ
昇順または降順
API
このウィジェットは Dashboards API で使用できます。ウィジェット JSON スキーマ定義については、以下の表を参照してください。
Expand All
Available legend sizes for a widget. Should be one of "0", "2", "4", "8", "16", or "auto".
Request payload used to query items.
Widget column width.
Allowed enum values: auto,compact,full
Updated list stream widget.
clustering_pattern_field_path
Specifies the field for logs pattern clustering. Usable only with logs_pattern_stream.
Compute configuration for the List Stream Widget. Compute can be used only with the logs_transaction_stream (from 1 to 5 items) list stream source.
Aggregation value.
Allowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg,earliest,latest,most_frequent
Source from which to query items to display in the stream.
Allowed enum values: logs_stream,audit_stream,ci_pipeline_stream,ci_test_stream,rum_issue_stream,apm_issue_stream,trace_stream,logs_issue_stream,logs_pattern_stream,logs_transaction_stream,event_stream,rum_stream,llm_observability_stream
default: apm_issue_stream
Size to use to display an event.
Allowed enum values: s,l
Group by configuration for the List Stream Widget. Group by can be used only with logs_pattern_stream (up to 4 items) or logs_transaction_stream (one group by item is required) list stream source.
Which column and order to sort by
Facet path for the column
Widget sorting methods.
Allowed enum values: asc,desc
Option for storage location. Feature in Private Beta.
response_format [required]
Widget response format.
Allowed enum values: event_list
Whether or not to display the legend on this widget.
Time setting for the widget.
The available timeframes depend on the widget you are using.
Allowed enum values: 1m,5m,10m,15m,30m,1h,4h,1d,2d,1w,1mo,3mo,6mo,week_to_date,month_to_date,1y,alert
Used for arbitrary live span times, such as 17 minutes or 6 hours.
Type "live" denotes a live span in the new format.
Allowed enum values: live
Unit of the time span.
Allowed enum values: minute,hour,day,week,month,year
Used for fixed span times, such as 'March 1 to March 7'.
Start time in seconds since epoch.
End time in seconds since epoch.
Type "fixed" denotes a fixed span.
Allowed enum values: fixed
How to align the text on the widget.
Allowed enum values: center,left,right
Type of the list stream widget.
Allowed enum values: list_stream
default: list_stream
{
"legend_size": "string",
"requests": [
{
"columns": [
{
"field": "content",
"width": "compact"
}
],
"query": {
"clustering_pattern_field_path": "message",
"compute": [
{
"aggregation": "count",
"facet": "resource_name"
}
],
"data_source": "apm_issue_stream",
"event_size": "string",
"group_by": [
{
"facet": "resource_name"
}
],
"indexes": [],
"query_string": "@service:app",
"sort": {
"column": "",
"order": "desc"
},
"storage": "indexes"
},
"response_format": "event_list"
}
],
"show_legend": false,
"time": {
"live_span": "5m"
},
"title": "string",
"title_align": "string",
"title_size": "string",
"type": "list_stream"
}
その他の参考資料