Skip to content

Conversation

@yangyy93
Copy link

@yangyy93 yangyy93 commented Nov 6, 2025

Ⅰ. Describe what this PR did

在配置链路时新增自定义标签的选项,有以下逻辑:

当链路追踪开启时生效,默认为空

支持添加多个自定义标签,每个自定义标签的key不能为空且不能重复。

自定义标签的值分为固定值,从环境变���获取,从请求头中获取,而且值的获取方式只能选择其中一个。从环境变量获取和请求头中获取时可以设置默认值。值不允许为空。

Ⅱ. Does this pull request fix one issue?

fixes #3098

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@CLAassistant
Copy link

CLAassistant commented Nov 6, 2025

CLA assistant check
All committers have signed the CLA.

Copy link
Collaborator

@johnlanni johnlanni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

需要添加E2E测试

Signed-off-by: yangyang <yang.yang@daocloud.io>
@yangyy93
Copy link
Author

yangyy93 commented Dec 30, 2025

需要添加E2E测试

已经增加相关e2e测试


Need to add E2E test

Related e2e tests have been added

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants