<div dir="ltr">Thanks Gary.<br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 3, 2017 at 1:54 AM, Gary Brown <span dir="ltr">&lt;<a href="mailto:gbrown@redhat.com" target="_blank">gbrown@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-"><br>
&gt; (1) Is using a &quot;sampling.priority&quot; of 1 merely advisory? It would explain<br>
&gt; everything if those traces are meant to be dropped.<br>
<br>
</span>If using the default constructor for APMTracer, then the default behaviour should be to trace all - and setting the sampling.priority to 1 should not override that. Could you try not setting this tag to see if there is any difference?<br></blockquote><div><br></div><div>I see. Well, I am using the default constructor, and I have tried with and without sampling.priority=1 and it&#39;s the same situation either way.</div><div> </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">
&gt; (2) Is there any convenient way I can see, with increased logging or<br>
&gt; something, which traces are actually being sent from the client, and which<br>
&gt; are actually received by the server?<br>
<br>
</span>You could initially check the traces stored in Elasticsearch using something like: curl <a href="http://localhost:9200/apm-hawkular/trace/_search" rel="noreferrer" target="_blank">http://localhost:9200/apm-<wbr>hawkular/trace/_search</a> | python -m json.tool<br></blockquote><div><br></div><div>Right now I have a repl launched with HAWKULAR_APM_LOG_LEVEL set to FINEST.  I&#39;m creating spans in the repl as described earlier. Each time I create a trace I see a log entry from the client like this:</div><div><div><br></div><div>    FINEST: [TracePublisherRESTClient] [Thread[pool-2-thread-1,5,main]] Status code is: 204</div></div><div><br></div><div>and that 204 would suggest the trace info was successfully sent.  But inside the docker container I can curl Elasticsearch and those new traces are not to be found.</div><div><br></div><div>Incidentally, I started the repl last night, did a few successful tests, and then closed the lid of my laptop for the night with the Hawkular container still running and the repl still running.  I&#39;ve also had this issue occur immediately on launch of the repl, so I don&#39;t think it&#39;s specifically about long running repls and/or sleeping, but for completeness I thought I would clarify how I am running this.</div><div><br></div><div>&gt; 
Do you have a pure Java example that reproduces the same issue? Might be worth creating a jira in <a href="https://issues.jboss.org/projects/HWKAPM" rel="noreferrer" target="_blank">https://issues.jboss.org/<wbr>projects/HWKAPM</a> to track the issue.<br></div><div><br></div><div>No, not yet...</div></div></div></div>