-
Notifications
You must be signed in to change notification settings - Fork 123
Conversation
Sometimes we need a custom filter to filter the reported information to reduce the storage pressure
Sometimes we need a custom filter to filter the reported information to reduce the storage pressure
Adding custom report filter
Storage pressure should be taken care of by backend OAP capability. |
for example: only submit requests below 100ms |
That is actually very tricky. You could make a lot of VNode when visuals trace. |
some of the problems just mentioned should actually reduce the pressure on grpc to report |
In the case of high QPS, grpc server needs a lot of resources. In fact, we can only collect and analyze requests with more than 100ms or errors |
But your way as post sampling actually could make things not as expected in the runtime. |
How many QPS are you talking about? Do you really test the tracing cost VS reporting cost? In most languages, tracing cost is almost 5-10 times than pure reporting. |
In fact, the problem we encounter is that in 50000qps requests, we only need to track those wrong and slow requests, and the vast majority of requests (99.9%) do not need to be submitted to the tracking. If the full number of grpc submissions, the server received by grpc may need more resources, so we want to filter out (retain wrong and slow requests) when submitting to reduce the pressure of grpc reporting. Do you have a better approach? |
But that is not SkyWalking's typical use case. I am actually confused about your decision. |
Back to the codes, I think you need to update the doc at https://github.com/SkyAPM/go2sky#configuration about how to use this. We need the doc to explain what is |
update doc
update doc
@arugal Could you review the codes? Although I am not supporting this use case, this seems harmless either. I will leave the judgment for you. |
Codecov Report
@@ Coverage Diff @@
## master #163 +/- ##
==========================================
- Coverage 64.64% 64.53% -0.12%
==========================================
Files 22 22
Lines 1089 1094 +5
==========================================
+ Hits 704 706 +2
- Misses 330 334 +4
+ Partials 55 54 -1
Help us with your feedback. Take ten seconds to tell us how you rate us. |
update name
update name
update name
Has been updated |
remove default report strategy
remove default report strategy
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.
LGTM
Sometimes we need a custom filter to filter the reported information to reduce the storage pressure