サービスとは、例えば Web フレームワークやデータベースなど、同じ作業を行う一連のプロセスのことです。Datadog は、サービスページに表示されるような、サービス情報を表示するためのすぐに使えるグラフを提供します。サービスサマリーウィジェットを使用して、選択したサービスのグラフをダッシュボードに表示します。
セットアップ
構成
- 環境とサービスを選択します。
- ウィジェットのサイズを選択します。
- 表示する情報を選択します。
- Hits
- エラー
- レイテンシー
- Breakdown
- Distribution
- リソース (注: このオプションを表示するには、大きなウィジェットサイズを選択する必要があります)
- グラフの表示に使用する列数を選択して、表示設定を行います。
- グラフのタイトルを入力します。
API
このウィジェットは Dashboards API で使用できます。ウィジェット JSON スキーマ定義については、以下の表を参照してください。
Expand All
Number of columns to display.
Allowed enum values: one_column,two_column,three_column
Whether to show the latency breakdown or not.
Whether to show the latency distribution or not.
Whether to show the error metrics or not.
Whether to show the hits metrics or not.
Whether to show the latency metrics or not.
Whether to show the resource list or not.
Size of the widget.
Allowed enum values: small,medium,large
Time setting for the widget.
hide_incomplete_cost_data
Whether to hide incomplete cost data in 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.
hide_incomplete_cost_data
Whether to hide incomplete cost data in the widget.
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.
hide_incomplete_cost_data
Whether to hide incomplete cost data in the widget.
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 service summary widget.
Allowed enum values: trace_service
default: trace_service
{
"display_format": "string",
"env": "",
"service": "",
"show_breakdown": false,
"show_distribution": false,
"show_errors": false,
"show_hits": false,
"show_latency": false,
"show_resource_list": false,
"size_format": "string",
"span_name": "",
"time": {
"hide_incomplete_cost_data": false,
"live_span": "5m"
},
"title": "string",
"title_align": "string",
"title_size": "string",
"type": "trace_service"
}
その他の参考資料