-
Notifications
You must be signed in to change notification settings - Fork 399
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
feat: add ext_default_encoder with prometheus encoder #1704
feat: add ext_default_encoder with prometheus encoder #1704
Conversation
pkg/protocol/encoder/protocol.go
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个文件位置和endocoder不太对称,可以统一吗
plugins/extension/encoder/encoder.go
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
和default_decoder.go统一一下?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
plugins/extension/encoder/encoder.go
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
对应的文档,参考 https://github.com/alibaba/ilogtail/blob/2.0/docs/cn/plugins/extension/ext-default-decoder.md
加入overview docs/cn/plugins/overview.md
顺便把链接加一下(原来整个Extension都漏了)docs/cn/SUMMARY.md
本次代码评审主要涉及将系统中的配置管理从处理过程配置(ProcessConfig)全面迁移至实例配置(InstanceConfig),包括监控指标、配置处理、文件监控、单元测试等多个方面的更新,以支持更细粒度的配置管理。同时,增加了对flusher相关指标的监控,并调整了部分代码结构和逻辑,以适应配置管理的这一变更。 Link: https://code.alibaba-inc.com/sls/ilogtail/codereview/18058664 * Add some plugin metrics and alarms (#1697) * add some metrics * Rename ProcessConfig to InstanceConfig (#1711) * feat: add ext_default_encoder with prometheus encoder (#1704) * feat: add encoder extension interface in pkg/pipeline/extensions * feat: add prometheus encoder whitch implements extension.Encoder interface * feat: add ext_default_encoder extension plugin * refactor: rename package name, var name of encoder * docs: add docs for ext_default_encoder & update docs of other extensions * docs: add ext_default_encoder doc in docs/cn/plugins/overview.md * fix: fix build failed for package referenece * chore: update pkg/go.mod to solve lint failed * fix: fix ci-lint error * Merge remote-tracking branch 'refs/remotes/github_alibaba/main' into merge-main-240822
以flusher_http的配置为例,集成Prometheus Encoder的配置示例