Skip to content

[BUG] The value of gprocess id is always 0,shouldn't the difficulty be a value that identifies the process? #10013

@mtccvip

Description

@mtccvip

Search before asking

  • I had searched in the issues and found no similar feature requirement.

DeepFlow Component

Server

What you expected to happen

1、在deepflow的官网上没有关于gprocess id的作用介绍,猜想是用于从主机上抓取到进程打一个唯一标识,但是为什么我从ck里面查到flow_metrics.application_map.1m 的字段gprocess_id_0、gprocess_id_1的值都是0

Image

2、假设gprocess_id_0的value是正常的,那么我想通过ck数据查到某个主机进程的出入访问流量,那么我该如何用gprocess_id_0去别的表里面关联出对应的进程呢,我知道进程和关联的主机通过下面两张表join查询,但是这两张表里面并没有gprocess_id的字段
我的目标是希望定位到某台主机上某个具体的进程的出入flow metric记录,而不仅仅定位到某台主机

Image

3、我的agent group配置如下,是可以正常抓取主机进程的

Image

How to reproduce

No response

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: v6.6
CommitID: e836aba
RevCount: 11795
Compiler: go version go1.24.4 linux/amd64
CompileTime: 2025-06-30 10:06:04

deepflow-agent -v
11796-6853813d93a096fc74bd33a5c8aa88c3e34dfcaa
Name: deepflow-agent community edition
Branch: v6.6
CommitId: 6853813
RevCount: 11796
Compiler: rustc 1.77.1 (7cf61ebde 2024-03-27)
CompileTime: 2025-07-01 03:43:22

DeepFlow agent list

No response

Kubernetes CNI

No response

Operation-System/Kernel version

No response

Anything else

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions