-
Notifications
You must be signed in to change notification settings - Fork 388
Description
Search before asking
- I had searched in the issues and found no similar feature requirement.
DeepFlow Component
Server
What you expected to happen
我在请求deepflow-app的/v1/stats/querier/L7FlowTracing接口时,传入ebpf链路数据的_id参数、起始时间戳时,响应太慢,一般需要等待10s-30s时间才有返回,有时候可能会需要更长时间,如果传入otel链路数据的_id参数时,响应会稍微快些,一般在10s内可以返回火焰图数据。
How to reproduce
docker模式下的deepflow服务采集的ebpf数据,使用的网关透传的x-request-id作为全局唯一id进行串联链路。
DeepFlow version
~ $ deepflow-server -v
WARNING:(ast) sonic only supports go1.17~1.23, but your environment is not suitable
Name: deepflow-server community edition
Branch: v7.0
CommitID: f5e8e18
RevCount: 11956
Compiler: go version go1.24.5 linux/amd64
CompileTime: 2025-07-21 03:47:27
DeepFlow agent list
deepflow-ctl agent list --api-port 20417 --ip 1.1.1.1
ID NAME TYPE CTRL_IP CTRL_MAC STATE GROUP EXCEPTIONS REVISION UPGRADE_REVISION POD_CLUSTER
5 1.1.1.1-W5 CHOST_VM 1.1.1.1 00:50:56:a0:f8:d3 NORMAL default v7.0 11960
6 1.1.1.2-W4 CHOST_VM 1.1.1.2 00:50:56:a0:f9:5d NORMAL default v7.0 11960
7 1.1.1.3-W3 CHOST_VM 1.1.1.3 00:50:56:a0:93:17 NORMAL default v7.0 11960
8 1.1.1.4-W2 CHOST_VM 1.1.1.4 00:50:56:a0:a5:5a NORMAL default v7.0 11960
Kubernetes CNI
纯docker模式
Operation-System/Kernel version
root@localhost:/# cat /etc/os-release
PRETTY_NAME="Ubuntu 24.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.2 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo
root@localhost:/# uname -r
3.10.0-1127.el7.x86_64
root@localhost:/#
Anything else
agent-group-config.yaml文件内容:
inputs:
resources:
workload_resource_sync_enabled: true
proc:
enabled: true
process_matcher:
- enabled_features:
- ebpf.profile.on_cpu
match_regex: ^(deepflow|mysqld|docs|node|nginx)
only_in_container: false
integration:
enabled: true
listen_port: 38086
global:
limits:
max_memory: 2048
max_millicpus: 2000
circuit_breakers:
relative_sys_load:
trigger_threshold: 2.0
recovery_threshold: 1.5
metric: load15
communication:
proxy_controller_port: 20035
ingester_port: 20033
proxy_controller_ip: "1.1.1.1"
ingester_ip: "1.1.1.1"
processors:
flow_log:
time_window:
extra_tolerable_flow_delay: 20s
max_tolerable_packet_delay: 20s
request_log:
tunning:
payload_truncation: 4096
tag_extraction:
tracing_tag:
x_request_id:
- X-Request-Id
apm_trace_id:
- X-Request-Id
http_endpoint:
match_rules:
- keep_segments: 3
url_prefix: ''
obfuscate_protocols: [MySQL,Redis,Kafka]
application_protocol_inference:
enabled_protocols: [MySQL,Redis,Kafka,HTTP,HTTP2,gRPC]
Are you willing to submit a PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct