deepflowio / deepflow

eBPF Observability - Distributed Tracing and Profiling
https://deepflow.io
Apache License 2.0
2.87k stars 318 forks source link

AutoProfiling 监控指定进程无数据,也无法搜索到 #8314

Open 619733575 opened 6 days ago

619733575 commented 6 days ago

Search before asking

DeepFlow Component

Agent

What you expected to happen

deepflow 启用AutoProfiling 无数据 微信图片_20241016182858 微信图片_20241016182847 微信图片_20241016182837 微信图片_20241016182831

How to reproduce

No response

DeepFlow version

kubectl exec -it -n deepflow deploy/deepflow-server -- deepflow-server -v :

Name: deepflow-server community edition Branch: v6.6.6 CommitID: d5e26dd2618cf3dbac2c10594d06d75aab3a38e1 RevCount: 11227 Compiler: go version go1.21.13 linux/amd64 CompileTime: 2024-10-11 05:20:20

kubectl exec -it -n deepflow ds/deepflow-agent -- deepflow-agent -v:

Defaulted container "deepflow-agent" out of: deepflow-agent, configure-sysctl (init) 11227-d5e26dd2618cf3dbac2c10594d06d75aab3a38e1 Name: deepflow-agent community edition Branch: v6.6.6 CommitId: d5e26dd2618cf3dbac2c10594d06d75aab3a38e1 RevCount: 11227 Compiler: rustc 1.77.1 (7cf61ebde 2024-03-27) CompileTime: 2024-10-11 07:20:14

DeepFlow agent list

image

Kubernetes CNI

v1.28.2

Operation-System/Kernel version

No response

Anything else

Are you willing to submit a PR?

Code of Conduct

619733575 commented 6 days ago

配置: image

进程: image

yinjiping commented 5 days ago

@yuanchaoa 下面三种方式

默认是哪一种?看看是个ISSUE是否有正则匹配问题?

619733575 commented 5 days ago

@yuanchaoa 下面三种方式

  • cmdline 是 /proc/$pid/exe 对应的软连接对应的文件名
  • cmdline_with_args 是 /proc/$pid/cmdline
  • ProcessName是/proc/PID/status 中的Name

默认是哪一种?看看是个ISSUE是否有正则匹配问题? 进程名称: image image image

正则匹配: image