-
Currently, the sampling strategy of skywalking-java is that whether to sample has already been determined when creating the TracerContext. Is it considered to implement a layer of sampling before reporting to the server? In this way, it will be possible to decide whether to report according to the state of the Segment, such as the time consumption and whether an error has occurred or not. Are there any implicit constraints that prevent us from doing so? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
What is the benefit of this? Collecting span and context propagation cost most CPU and memory, you chose to finish that but skip the report, why? |
Beta Was this translation helpful? Give feedback.
From upstream perspective, it is a low value and high cost sampling mechanism. It should not be done.