Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: revert go tag processor #2062

Merged
merged 4 commits into from
Feb 7, 2025
Merged

fix: revert go tag processor #2062

merged 4 commits into from
Feb 7, 2025

Conversation

Abingcbc
Copy link
Collaborator

回退go tag processor支持file tag和host id

@@ -69,12 +61,7 @@ func (p *ProcessorTag) ProcessV1(logCtx *pipeline.LogWithContext) {
tagsMap[tag.Key] = tag.Value
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

tag三部分
1、输入带过来的
2、host相关的tag
3、环境变量的

刚才v1漏了2,v2是不是也需要1呢?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

v2中的tag是以map结果保存的,所以没有做数据结构的转换,v2的in.Group.Tags里面就已经包含了1

@Abingcbc Abingcbc merged commit b60b6e6 into alibaba:main Feb 7, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants