Un service est un ensemble de processus effectuant le même travail, par exemple un framework Web ou une base de données. Datadog fournit des graphiques prêts à l’emploi pour afficher les informations de service, comme sur la page Service. Utilisez le widget Service Summary pour afficher les graphiques d’un service choisi dans votre dashboard.
Configuration
Configuration
- Sélectionnez un environnement et un service.
- Sélectionnez une taille de widget.
- Sélectionnez les informations à afficher :
- Hits
- Erreurs
- Latence
- Répartition
- Distribution
- Ressources (remarque : pour afficher des ressources, la plus grande taille de widget est requise)
- Choisissez vos préférences d’affichage en sélectionnant le nombre de colonnes sur lesquelles répartir vos graphiques.
- Saisissez un titre pour votre graphique.
API
Ce widget peut être utilisé avec l’API Dashboards. Le tableau ci-dessous définit le [schéma JSON du widget][9] :
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,1wShow 7 more
,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 milliseconds since epoch.
hide_incomplete_cost_data
Whether to hide incomplete cost data in the widget.
End time in milliseconds 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"
}
Pour aller plus loin
Documentation, liens et articles supplémentaires utiles: