서비스는 동일한 작업을 실행하는 프로세스의 집합입니다. 예를 들어 웹 프레임워크나 데이터베이스가 있습니다. Datadog는 Service 페이지에서 볼 수 있듯, 서비스 정보를 표시하는 기본 제공 그래프를 제공합니다. 서비스 요약 위젯을 사용해 선택한 서비스의 그래프를 대시보드에 표시할 수 있습니다.
설정
구성
- 환경 및 서비스를 선택합니다.
- 위젯 크기를 선택합니다.
- 다음 중 표시할 정보를 선택합니다.
- 히트
- 오류
- 레이턴시
- Breakdown
- 분포
- Resource(참고: 이 옵션을 보려면 큰 위젯 크기를 선택해야 합니다.)
- 열 수를 선택해 그래프를 어떻게 표시할지 설정하세요.
- 그래프 타이틀을 입력합니다.
API
해당 위젯은 **대시보드 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"
}
참고 자료