토폴로지 맵 위젯

토폴로지 맵 위젯은 데이터 소스와 그 관계를 시각화하여 아키텍처를 통한 데이터 플로우를 파악하도록 도와드립니다.

설정

설정

  1. 그래프화할 데이터를 선택합니다.

    • 서비스 맵: 위젯의 중앙에 위치한 노드는 매핑된 서비스를 나타냅니다. 매핑된 서비스를 호출하는 서비스는 호출자로부터 서비스까지를 화살표로 표시합니다. 서비스 맵에 대해 자세히 알아보려면 애플리케이션 성능 모니터링(APM)의 서비스 맵 기능을 참조하세요.
  2. Enter a title for your graph.

API

이 위젯은 **대시보드 API**와 함께 사용할 수 있습니다. 위젯 JSON 스키마 정의에 대한 다음 표를 참조하세요.

Expand All

항목

유형

설명

custom_links

[object]

List of custom links.

is_hidden

boolean

The flag for toggling context menu link visibility.

label

string

The label for the custom link URL. Keep the label short and descriptive. Use metrics and tags as variables.

link

string

The URL of the custom link. URL must include http or https. A relative URL must start with /.

override_label

string

The label ID that refers to a context menu link. Can be logs, hosts, traces, profiles, processes, containers, or rum.

description

string

The description of the widget.

requests [required]

[object]

One Topology request.

query

object

Query to the service map topology data source.

data_source [required]

enum

Name of the data source. Allowed enum values: service_map

filters [required]

[string]

Your environment and primary tag (or * if enabled for your account).

query_string

string

A search string for filtering services. When set, this replaces the service field.

service [required]

string

(deprecated) Name of the service. Leave this empty and use query_string instead.

request_type

enum

Widget request type. Allowed enum values: topology

time

 <oneOf>

Time setting for the widget.

Object 1

object

Wrapper for live span

hide_incomplete_cost_data

boolean

Whether to hide incomplete cost data in the widget.

live_span

enum

The available timeframes depend on the widget you are using. Allowed enum values: 1m,5m,10m,15m,30m,1h,4h,1d,2d,1w

Show 7 more,1mo,3mo,6mo,week_to_date,month_to_date,1y,alert

<type=live>

object

Used for arbitrary live span times, such as 17 minutes or 6 hours.

hide_incomplete_cost_data

boolean

Whether to hide incomplete cost data in the widget.

type [required]

enum

Type "live" denotes a live span in the new format. Allowed enum values: live

unit [required]

enum

Unit of the time span. Allowed enum values: minute,hour,day,week,month,year

value [required]

int64

Value of the time span.

<type=fixed>

object

Used for fixed span times, such as 'March 1 to March 7'.

from [required]

int64

Start time in milliseconds since epoch.

hide_incomplete_cost_data

boolean

Whether to hide incomplete cost data in the widget.

to [required]

int64

End time in milliseconds since epoch.

type [required]

enum

Type "fixed" denotes a fixed span. Allowed enum values: fixed

title

string

Title of your widget.

title_align

enum

How to align the text on the widget. Allowed enum values: center,left,right

title_size

string

Size of the title.

type [required]

enum

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"
    }
  ],
  "description": "string",
  "requests": [
    {
      "query": {
        "data_source": "service_map",
        "filters": [
          "env:prod",
          "az:us-east"
        ],
        "query_string": "service:myservice",
        "service": "myservice"
      },
      "request_type": "string"
    }
  ],
  "time": {
    "hide_incomplete_cost_data": false,
    "live_span": "5m"
  },
  "title": "string",
  "title_align": "string",
  "title_size": "string",
  "type": "topology_map"
}

참고 자료

추가적인 유용한 설명서, 링크 및 기사: