<div dir="ltr"><br><div>As an experiment I&#39;m instrumenting a service written in clojure using opentracing-java.  Through the clojure/java interop I&#39;ve mostly succeeded in getting trace information reported through to the Hawkular APM server.</div><div><br></div><div>I say &quot;mostly succeeded&quot; because sooner or later in every one of my hacking sessions I get to the point where the spans I am creating in the app are no longer reported in the web ui.</div><div><br></div><div>For convenience I&#39;m using the Hawkular dev <a href="https://hub.docker.com/r/jboss/hawkular-apm-server-dev">docker image</a>. In my test app I&#39;m doing nothing more than initializing an <a href="https://github.com/hawkular/hawkular-apm/blob/master/client/opentracing/src/main/java/org/hawkular/apm/client/opentracing/APMTracer.java">APMTracer</a> with the appropriate environment variables set, and then calling buildSpan(&quot;foo&quot;), withTag(&quot;sampling.priority&quot;, 1), start(), sleep for a while, and then finish().  Where all of the previous was done in clojure, but I&#39;m talking in pseudocode here just to make the intent clear.</div><div><br></div><div>So like I said, sometimes these traces are reported, other times they seem to be silently dropped. I can&#39;t detect any consistent pattern how or why this happens...</div><div><br></div><div>(1) Is using a &quot;sampling.priority&quot; of 1 merely advisory?  It would explain everything if those traces are meant to be dropped.</div><div><br></div><div>(2) Is there any convenient way I can see, with increased logging or something, which traces are actually being sent from the client, and which are actually received by the server?</div><div><br></div></div>