Calling APM's Trace API

Created:2023-10-04 Last Modified:2024-06-24

This document was translated by ChatGPT

#1. Introduction

DeepFlow has the capability to obtain APP Spans from external APMs and associate these APP Spans with the tracing data collected by DeepFlow. Currently, only SkyWalking is supported as the external APM storage. Applications do not need any modifications; you only need to change the DeepFlow configuration to achieve DeepFlow's full-link, zero-instrumentation tracing capability.

#2. Data Flow

#3. Configuration

Modify the configuration (opens new window) of the DeepFlow Server by adding the following content:

querier:
  external-apm:
    - name: skywalking
      addr: 127.0.0.1:12800 # FIXME: Replace this with the address of the SkyWalking OAP Server, port 12800 is the default port for HTTP service
1
2
3
4

At the same time, you need to modify the configuration (opens new window) of the DeepFlow App by setting the following value to true:

app:
  spec:
    call_apm_api_to_supplement_trace: true
1
2
3