Closed wbpcode closed 2 years ago
Have you considered creating another IgnoredTracingContext to make the cost less? Like Java did? https://github.com/apache/skywalking-java/blob/main/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/context/IgnoredTracerContext.java
One tip, the sample flag in the header is not used for upstream, as SkyWalking backend is analyzing topology and metrics according to these traces, we prefer once the header is provided, we continue the trace.
It seems that I misunderstood the sampling policy of skywalking. So I will close the PR for now.
Signed-off-by: wbpcode wbphub@live.com
To close #93.