alibaba / sentinel-golang

Sentinel Go enables reliability and resiliency for Go microservices
https://sentinelguard.io/
Apache License 2.0
2.76k stars 431 forks source link

feat:add RemoveResourceNodes #568

Open cafra opened 2 months ago

cafra commented 2 months ago

Describe what this PR does / why we need it

在MOSN中,接入了TR/RPC/MSG/DB/HTTP等流量,需要定期清理无效node,降低内存占用。

Does this pull request fix one issue?

Describe how you did it

MOSN中定时检测资源近一段时间是否有Pass量,如果没有则删除。

Describe how to verify it

UT 和集成测试

Special notes for reviews