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

增加对falcon-agent的内存和metric一次性推送的数量的限制 #913

Open
apriltommy0525 opened this issue Dec 3, 2020 · 2 comments

Comments

@apriltommy0525
Copy link

增加了agent内存控制的功能,有什么不足的欢迎评论,merge地址#912

@laiwei
Copy link
Member

laiwei commented Dec 9, 2020

👍🏻👍🏻 不过两个建议:

  • 对内存这些资源的限制,可以在系统层面做一些外部的限制,比如 cgroup 限制 memory 的用量。
  • 发送数据超过批量,直接失败,这个处理也不友好。

@apriltommy0525
Copy link
Author

感谢你的建议,第二点我想了下,对于超出批量限制的数据,一个是转发批量限制的数量数据,超出的就丢弃了,返回丢弃的个数。另一个就是将这个数据合理拆分,分批推送。您有什么看法没有?

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

No branches or pull requests

2 participants