Topology Map ウィジェットには、データソースとその関係が視覚化されており、データがアーキテクチャ内をどのように流れているかを理解するのに役立ちます。
セットアップ
コンフィギュレーション
グラフ化するデータを選択します。
- サービスマップ: ウィジェットの中央にあるノードは、マップされたサービスを表します。マッピングされたサービスを呼び出すサービスは、呼び出し元からサービスへの矢印で表示されます。サービスマップの詳細については、APM のサービスマップ機能を参照してください。
グラフのタイトルを入力します。
API
このウィジェットは、ダッシュボード API とともに使用できます。詳しくは、ダッシュボード API ドキュメントをご参照ください。
サービスマップウィジェットのウィジェット JSON スキーマ定義は次のとおりです。
Expand All
The flag for toggling context menu link visibility.
The label for the custom link URL. Keep the label short and descriptive. Use metrics and tags as variables.
The URL of the custom link. URL must include http
or https
. A relative URL must start with /
.
The label ID that refers to a context menu link. Can be logs
, hosts
, traces
, profiles
, processes
, containers
, or rum
.
One or more Topology requests.
Query to service-based topology data sources like the service map or data streams.
Name of the data source
Allowed enum values: data_streams,service_map
Your environment and primary tag (or * if enabled for your account).
Widget request type.
Allowed enum values: topology
How to align the text on the widget.
Allowed enum values: center,left,right
Type of the topology map widget.
Allowed enum values: topology_map
default: topology_map
{
"custom_links": [
{
"is_hidden": false,
"label": "Search logs for {{host}}",
"link": "https://app.datadoghq.com/logs?query={{host}}",
"override_label": "logs"
}
],
"requests": [
{
"query": {
"data_source": "string",
"filters": [
"env:prod",
"az:us-east"
],
"service": "myService"
},
"request_type": "string"
}
],
"title": "string",
"title_align": "string",
"title_size": "string",
"type": "topology_map"
}