Skip to content

Commit 4a18434

Browse files
authored
Merge branch 'main' into 1473371932-patch-2
2 parents de85611 + 4ae92e1 commit 4a18434

22 files changed

+216
-38
lines changed

docs/zh/02-ce-install/02-all-in-one.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,14 @@ docker compose -f deepflow-docker-compose/docker-compose.yaml up -d
175175
deepflow-ctl 是管理 DeepFlow 的一个命令行工具,建议下载至 deepflow-server 所在的 K8s Node 上,用于后续使用:
176176

177177
```bash
178-
curl -o /usr/bin/deepflow-ctl https://deepflow-ce.oss-cn-beijing.aliyuncs.com/bin/ctl/stable/linux/$(arch | sed 's|x86_64|amd64|' | sed 's|aarch64|arm64|')/deepflow-ctl
178+
# 与当前 server 版本同步即可
179+
Version=v6.6
180+
181+
# 使用变量下载
182+
curl -o /usr/bin/deepflow-ctl \
183+
"https://deepflow-ce.oss-cn-beijing.aliyuncs.com/bin/ctl/$Version/linux/$(arch | sed 's|x86_64|amd64|' | sed 's|aarch64|arm64|')/deepflow-ctl"
184+
185+
# 添加执行权限
179186
chmod a+x /usr/bin/deepflow-ctl
180187
```
181188

docs/zh/02-ce-install/03-single-k8s.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,14 @@ helm install deepflow -n deepflow deepflow/deepflow --version 6.6.018 --create-n
9595
deepflow-ctl 是管理 DeepFlow 的一个命令行工具,建议下载至 deepflow-server 所在的 K8s Node 上,用于后续使用:
9696

9797
```bash
98-
curl -o /usr/bin/deepflow-ctl https://deepflow-ce.oss-cn-beijing.aliyuncs.com/bin/ctl/stable/linux/$(arch | sed 's|x86_64|amd64|' | sed 's|aarch64|arm64|')/deepflow-ctl
98+
# 设置临时变量
99+
Version=v6.6
100+
101+
# 使用变量下载
102+
curl -o /usr/bin/deepflow-ctl \
103+
"https://deepflow-ce.oss-cn-beijing.aliyuncs.com/bin/ctl/$Version/linux/$(arch | sed 's|x86_64|amd64|' | sed 's|aarch64|arm64|')/deepflow-ctl"
104+
105+
# 添加执行权限
99106
chmod a+x /usr/bin/deepflow-ctl
100107
```
101108

docs/zh/02-ce-install/99-upgrade.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,14 @@ helm upgrade deepflow -n deepflow deepflow/deepflow -f values-custom.yaml
2121
下载最新的 deepflow-ctl:
2222

2323
```bash
24-
curl -o /usr/bin/deepflow-ctl https://deepflow-ce.oss-cn-beijing.aliyuncs.com/bin/ctl/stable/linux/$(arch | sed 's|x86_64|amd64|' | sed 's|aarch64|arm64|')/deepflow-ctl
24+
# 与当前 server 版本同步即可
25+
Version=v6.6
26+
27+
# 使用变量下载
28+
curl -o /usr/bin/deepflow-ctl \
29+
"https://deepflow-ce.oss-cn-beijing.aliyuncs.com/bin/ctl/$Version/linux/$(arch | sed 's|x86_64|amd64|' | sed 's|aarch64|arm64|')/deepflow-ctl"
30+
31+
# 添加执行权限
2532
chmod a+x /usr/bin/deepflow-ctl
2633
```
2734

docs/zh/04-best-practice/03-special-environment-deployment.md

+14-1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ permalink: /best-practice/special-environment-deployment/
3939

4040
## MACVlan
4141

42+
### 仅采集 RootNS 中的网卡流量
43+
4244
K8s 使用 macvlan CNI 时,在 rootns 下只能看到所有 POD 共用的一个虚拟网卡,此时需要对 deepflow-agent 进行额外的配置:
4345

4446
1. 创建 agent-group 和 agent-group-config:
@@ -115,6 +117,15 @@ K8s 使用 macvlan CNI 时,在 rootns 下只能看到所有 POD 共用的一
115117
deepflow-ctl agent list
116118
```
117119

120+
### 同时采集 RootNS 和 PodNS 中的网卡流量
121+
122+
参考[文档](../configuration/agent/#inputs.cbpf.af_packet.inner_interface_capture_enabled),开启 deepflow-agent 的 `inputs.cbpf.af_packet.inner_interface_capture_enabled`,可采集 PodNS 中的网卡流量。
123+
124+
注意需要同时调整如下配置:
125+
- `inputs.cbpf.af_packet.tunning.ring_blocks_enabled`:使得能够让 AF_PACKET 的内存消耗可调整。
126+
- `inputs.cbpf.af_packet.tunning.ring_blocks`:使得能够精简所有 AF_PACKET 的总体内存消耗。
127+
- `inputs.cbpf.af_packet.inner_interface_regex`:使得能够正确匹配 PodNS 内部的网卡名称。
128+
118129
## 华为云 CCE Turbo
119130

120131
参考 MACVlan 配置方法即可。
@@ -390,7 +401,9 @@ rmdir /sys/fs/cgroup/memory/deepflow-agent
390401

391402
## agent 与 server 集群间网络受限需通过 lb 连接
392403

393-
当 deepflow-agent 需要经由外部负载均衡器访问 deepflow-server 时,需在 LB 上配置两个负载均衡监听器转发至 deepflow-server 的 NodePort Service(其中 30033 端口用于 agent 注册,30035 端口用于 agent 数据上报),并在 [agent-group-config](./../configuration/) 中添加 LB 的地址和端口。具体配置方法如下:
404+
405+
当 deepflow-agent 需要经由外部负载均衡器访问 deepflow-server 时,需在 LB 上配置两个负载均衡监听器转发至 deepflow-server 的 NodePort Service(其中 30033 端口用于 agent 注册,30035 端口用于 agent 数据上报),并在 [agent-group-config](./../configuration/agent/) 中添加 LB 的地址和端口。具体配置方法如下:
406+
394407

395408
> 注:除网络隔离等特殊情况外,不建议使用 LB 接入方案。默认机制下,agent 会根据数据量自动选择 server 节点,实现动态负载均衡;而通过 LB 接入时,数据上报路径将受限于 LB 的负载策略,可能会导致 server 节点负载不均。
396409

docs/zh/05-features/01-l7-protocols/03-rpc.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ permalink: /features/l7-protocols/rpc
55

66
# Dubbo
77

8-
支持 Hessian2 和 Kryo 两种序列化算法, 通过解析 [Dubbo](https://dubbo.apache.org/en/docs3-v2/java-sdk/reference-manual/protocol/overview/) 协议,将 Dubbo Request / Response 的字段映射到 l7_flow_log 对应字段中,映射关系如下表:
8+
支持 Hessian2、KryoFastjson2 三种序列化算法, 通过解析 [Dubbo](https://dubbo.apache.org/en/docs3-v2/java-sdk/reference-manual/protocol/overview/) 协议,将 Dubbo Request / Response 的字段映射到 l7_flow_log 对应字段中,映射关系如下表:
99

1010
**Tag 字段映射表格,以下表格只包含存在映射关系的字段**
1111

docs/zh/05-features/05-auto-tagging/04-custom-tags.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ DeepFlow 系统默认提供 auto_instance/auto_service 两个自动分组的标
5555

5656
[csv-auto_instance_type](https://raw.githubusercontent.com/deepflowio/deepflow/main/server/querier/db_descriptions/clickhouse/tag/enum/auto_instance_type.ch)
5757

58-
- auto_service:自动根据 IP 或 进程 ID 识别对应的服务 Tag,系统设置了可识别的 Tag 及优先级(容器服务 > 工作负载 > 进程 > 容器集群 > 其他 > IP)
59-
- 对比 auto_instance 来说,auto_service 去掉了 `容器 POD`,增加了`容器服务``工作负载`等更能体现服务的 Tag。其中 `容器服务`识别的优先级高于`工作负载`,因此当一个 IP 既属于`容器服务`又属于`工作负载`时,会识别为`容器服务`
58+
- auto_service:自动根据 IP 或 进程 ID 识别对应的服务 Tag,系统设置了可识别的 Tag 及优先级(自定义服务 > 容器服务 > 工作负载 > 进程 > 容器集群 > 其他 > IP)
59+
- 对比 auto_instance 来说,auto_service 去掉了 `容器 POD`,增加了`自定义服务`(仅企业版)、`容器服务``工作负载`等更能体现服务的 Tag。其中 `容器服务`识别的优先级高于`工作负载`,因此当一个 IP 既属于`容器服务`又属于`工作负载`时,会识别为`容器服务`
6060

6161
[csv-auto_service_type](https://raw.githubusercontent.com/deepflowio/deepflow/main/server/querier/db_descriptions/clickhouse/tag/enum/auto_service_type.ch)
6262

docs/zh/05-features/05-auto-tagging/06-additional-cloud-tags.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ ${deepflow_server_node_ip}:${port}/v1/domain-additional-resources/ \
202202
-d@additional_resource.json
203203
```
204204

205-
参数文件 additional_resource.json ([参考 YAML 文件](https://github.com/deepflowio/deepflow/blob/main/cli/ctl/example/domain_additional_resource.yaml)
205+
参数文件 additional_resource.json ([参考 YAML 文件](https://github.com/deepflowio/deepflow/blob/main/server/controller/model/domain_additional_resource_example.yaml)
206206

207207
```json
208208
{

docs/zh/10-release-notes/02-release-timeline.md

+14-9
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,17 @@ permalink: /release-notes/release-timeline
55

66
| Branch | Tag | LTS | Release | End Of Life |
77
| ------ | ------- | ----- | -------------- | ------------------ |
8-
| main | 7.0.4 | | 2025-02-27 | |
9-
| | 7.0.3 | | 2025-02-13 | |
10-
| | 7.0.2 | | 2025-01-23 | |
11-
| | 7.0.1 | | 2025-01-09 | |
12-
| | 7.0.0 | | 2024-12-26 | |
13-
| v6.6 | | Y | 2024-12-12 | 2025-12-12 |
8+
| main | 7.0.9 | | 2025-05-14 | |
9+
| | 7.0.8 | | 2025-05-07 | |
10+
| | 7.0.7 | | 2025-04-29 | |
11+
| | 7.0.6 | | 2025-04-15 | |
12+
| | 7.0.5 | | 2025-04-02 | |
13+
| | 7.0.4 | | 2025-03-18 | |
14+
| | 7.0.3 | | 2025-03-05 | |
15+
| | 7.0.2 | | 2025-02-11 | |
16+
| | 7.0.1 | | 2025-01-16 | |
17+
| | 7.0.0 | | 2025-01-02 | |
18+
| v6.6 | | Y | 2024-12-12 | 2026-12-12 |
1419
| | 6.6.9 | | 2024-12-12 | |
1520
| | 6.6.8 | | 2024-11-14 | |
1621
| | 6.6.7 | | 2024-10-31 | |
@@ -32,7 +37,7 @@ permalink: /release-notes/release-timeline
3237
| | 6.5.2 | | 2024-03-12 | |
3338
| | 6.5.1 | | 2024-02-27 | |
3439
| | 6.5.0 | | 2024-02-06 | |
35-
| v6.4 | | Y | 2024-01-18 | 2025-01-25 |
40+
| v6.4 | | ~~Y~~ | 2024-01-18 | 2025-01-25 |
3641
| | 6.4.9 | | 2024-01-18 | |
3742
| | 6.4.8 | | 2024-01-11 | |
3843
| | 6.4.7 | | 2024-01-04 | |
@@ -43,7 +48,7 @@ permalink: /release-notes/release-timeline
4348
| | 6.4.2 | | 2023-11-09 | |
4449
| | 6.4.1 | | 2023-10-26 | |
4550
| | 6.4.0 | | 2023-10-12 | |
46-
| v6.3 | | Y | 2023-09-14 | 2024-09-21 |
51+
| v6.3 | | ~~Y~~ | 2023-09-14 | 2024-09-21 |
4752
| | 6.3.9 | | 2023-09-14 | |
4853
| | 6.3.8 | | 2023-09-07 | |
4954
| | 6.3.7 | | 2023-08-31 | |
@@ -54,7 +59,7 @@ permalink: /release-notes/release-timeline
5459
| | 6.3.2 | | 2023-06-29 | |
5560
| | 6.3.1 | | 2023-06-15 | |
5661
| | 6.3.0 | | 2023-06-01 | |
57-
| v6.2 | | Y | 2023-05-17 | 2024-05-24 |
62+
| v6.2 | | ~~Y~~ | 2023-05-17 | 2024-05-24 |
5863
| | 6.2.6.5 | | 2023-05-17 | |
5964
| | 6.2.6.4 | | 2023-05-10 | |
6065
| | 6.2.6.3 | | 2023-04-27 | |
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
title: v7.0 CE Release Notes
3+
permalink: /release-notes/release-7.0-ce
4+
---
5+
6+
# v7.0.6 [TBD]
7+
8+
TBD
9+
10+
# v7.0.5 [2025/04/02]
11+
12+
## Stable Feature
13+
14+
- AutoTracing
15+
- 支持 RocketMQ 协议的采集和追踪,[文档](../features/l7-protocols/mq/#rocketmq)
16+
- 支持 Ping 协议的采集和追踪,[文档](../features/l7-protocols/network/#ping)
17+
- 支持 Dubbo 协议使用 Fastjson 序列化时的采集和追踪,[文档](../features/l7-protocols/rpc/#dubbo)
18+
19+
# v7.0.4 [2025/03/18]
20+
21+
## Stable Feature
22+
23+
- Agent
24+
- 支持采集 Pod 内部网卡的流量,适用于 Root 网络命名空间下无法直接采集 Pod 网卡流量的场景(例如[华为云 CCE Turbo CNI](https://support.huaweicloud.com/usermanual-cce/cce_10_0284.html)),[文档](../configuration/agent/#inputs.cbpf.af_packet.inner_interface_capture_enabled)
25+
26+
# v7.0.3 [2025/03/05]
27+
28+
N/A
29+
30+
# v7.0.2 [2025/02/11]
31+
32+
## Stable Feature
33+
34+
- AutoMetrics
35+
- 应用性能指标(`application``application_map`)中增加超时比例指标(`timeout_ratio`)。
36+
- Server
37+
- 支持终止采集器远程升级,优化升级时 Server 的 CPU 资源开销。
38+
- Agent
39+
- 支持限制 deepflow-agent 使用的 Socket 数量,[文档](../configuration/agent/#global.limits.max_sockets)
40+
41+
# v7.0.1 [2025/01/16]
42+
43+
## Stable Feature
44+
45+
- AutoTracing
46+
- 网络流日志(`l4_flow_log`)中的非 TCP 流量,将其结束状态(`close_type`)从超时调整为正常结束(1)。
47+
48+
# v7.0.0 [2025/01/02]
49+
50+
## Stable Feature
51+
52+
- AutoTracing
53+
- 支持 Tars 协议的采集和追踪,[文档](../features/l7-protocols/rpc/#tars)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
---
2+
title: v7.0 EE Release Notes
3+
permalink: /release-notes/release-7.0-ee
4+
---
5+
6+
# 业务和应用
7+
8+
## 应用观测
9+
10+
- AutoTracing
11+
- 支持 RocketMQ 协议的采集和追踪,[文档](../features/l7-protocols/mq/#rocketmq)
12+
- 支持 Tars 协议的采集和追踪,[文档](../features/l7-protocols/rpc/#tars)
13+
- 支持 Ping 协议的采集和追踪,[文档](../features/l7-protocols/network/#ping)
14+
- 支持 Dubbo 协议使用 Fastjson 序列化时的采集和追踪,[文档](../features/l7-protocols/rpc/#dubbo)
15+
- 应用性能指标(`application``application_map`)中增加超时比例指标(`timeout_ratio`)。
16+
- 支持解析云智慧的 TraceID 和 SpanID。
17+
18+
# 基础设施
19+
20+
## 资产观测
21+
22+
- ⭐ 新增资产观测功能,支持以云主机和容器资源的视角查看观测数据。
23+
24+
## 网络观测
25+
26+
- 网络流日志(`l4_flow_log`)中的非 TCP 流量,将其结束状态(`close_type`)从超时调整为正常结束(1)。
27+
- 页面上所有流量速率的默认单位从字节每秒(`Bps`)修改为比特每秒(`bps`)。
28+
29+
## 流量分发
30+
31+
- 支持按采集器组分发流量。
32+
33+
# 其他
34+
35+
## 资源列表
36+
37+
- 列表页增加 KV 搜索能力,提升百万量级大规模资源场景下的搜索体验。
38+
- VPC 资源列表增加 ID 列,与云平台对齐。
39+
40+
## 系统管理
41+
42+
- Server
43+
- 支持定义 attribute.X、metrics.X 等字段的索引,加快常用字段的检索速度。
44+
- 支持终止采集器远程升级,优化升级时 Server 的 CPU 资源开销。
45+
- Agent
46+
- ⭐ OneAgent:支持使用 deepflow-agent 采集应用日志、主机系统指标、K8s 容器系统指标。
47+
- ⭐ OneAgent:支持使用 deepflow-agent 进行持续拨测。
48+
- ⭐ 安全性:支持限制 deepflow-agent 使用的 Socket 数量,[文档](../configuration/agent/#global.limits.max_sockets)
49+
- ⭐ 性能:PCAP 数据支持压缩传输,压缩率可达 5:1 ~ 10:1,[文档](../configuration/agent/#outputs.compression.pcap)
50+
- 支持采集 Pod 内部网卡的流量,适用于 Root 网络命名空间下无法直接采集 Pod 网卡流量的场景(例如[华为云 CCE Turbo CNI](https://support.huaweicloud.com/usermanual-cce/cce_10_0284.html)),[文档](../configuration/agent/#inputs.cbpf.af_packet.inner_interface_capture_enabled)
51+
- 采集器列表支持展示所在 VPC 信息。

docs/zh/10-release-notes/03-ce-6.6-release.md renamed to docs/zh/10-release-notes/05-ce-6.6-release.md

+13
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,19 @@ title: v6.6 CE Release Notes
33
permalink: /release-notes/release-6.6-ce
44
---
55

6+
# Backport From 7.0
7+
8+
- AutoTracing
9+
- [2025/01/02] 支持 Tars 协议的采集和追踪,[文档](../features/l7-protocols/rpc/#tars)
10+
- [2025/01/16] 网络流日志(`l4_flow_log`)中的非 TCP 流量,将其结束状态(`close_type`)从超时调整为正常结束(1)。
11+
- [2025/04/02] 支持 Ping 协议的采集和追踪,[文档](../features/l7-protocols/network/#ping)
12+
- [2025/04/02] 支持 Dubbo 协议使用 Fastjson 序列化时的采集和追踪,[文档](../features/l7-protocols/rpc/#dubbo)
13+
- Server
14+
- [2025/02/11] 支持终止采集器远程升级,优化升级时 Server 的 CPU 资源开销。
15+
- Agent
16+
- [2025/02/11] 支持限制 deepflow-agent 使用的 Socket 数量,[文档](../configuration/agent/#global.limits.max_sockets)
17+
- [2025/03/18] 支持采集 Pod 内部网卡的流量,适用于 Root 网络命名空间下无法直接采集 Pod 网卡流量的场景(例如[华为云 CCE Turbo CNI](https://support.huaweicloud.com/usermanual-cce/cce_10_0284.html)),[文档](../configuration/agent/#inputs.cbpf.af_packet.inner_interface_capture_enabled)
18+
619
# v6.6.9 [2024/12/12]
720

821
## Stable Feature

0 commit comments

Comments
 (0)