Hi skywalking dev team:
I had read the source code in skywalking-kong,and I found that the request_uri 
is wrote in request case.But I have heard that if the first case if not set the 
url templated,the after will never set it again.If it's set up,our endpoint 
will be double or triple or more.It will be a very big problem for me.How to 
understand it?




英文不太好,怕表达不清,再用中文叙述一下:
我最近阅读了skywalking-kong的源码,发现在记录request_url的时候,是直接记录的ngx.var.uri,这会导致url中携带动态参数,后面的系统会因为有了这个动态参数,而不进行模板化吧(记着之前听说过有这个机制)。这样就会导致系统存储的endpoint翻很多很多倍,如果打开了endpoint_alarm的话,那内存溢出估计会发生在skywalking启动的几分钟之内。这个问题开发团队有过专门的处理么?


yours
大方
2021.09.11

Reply via email to