finatra icon indicating copy to clipboard operation
finatra copied to clipboard

Recipe for conditional tracing

Open codefromthecrypt opened this issue 10 years ago • 1 comments

In certain environments, we don't want to trace static assets (by path) and some methods. It seems possible to do this via major surgery, ex overriding com.twitter.finagle.httpx.codec.HttpServerTraceInitializer and make conditional statements there. Is there a better way?

codefromthecrypt avatar Oct 26 '15 21:10 codefromthecrypt

PS many issues I raised are solvable now. This one, however, still requires significant surgery to achieve, sadly undoing some of the value of the other flags.

codefromthecrypt avatar Oct 29 '15 22:10 codefromthecrypt