cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r1006327 - in /websites/production/cxf/content: cache/ docs/ docs/using-openzipkin-brave.data/
Date Tue, 07 Feb 2017 01:47:41 GMT
Author: buildbot
Date: Tue Feb  7 01:47:41 2017
New Revision: 1006327

Log:
Production update by buildbot for cxf

Added:
    websites/production/cxf/content/docs/using-openzipkin-brave.data/
    websites/production/cxf/content/docs/using-openzipkin-brave.data/image2017-2-6-20:14:2.png
  (with props)
    websites/production/cxf/content/docs/using-openzipkin-brave.data/image2017-2-6-20:16:19.png
  (with props)
    websites/production/cxf/content/docs/using-openzipkin-brave.data/image2017-2-6-20:18:51.png
  (with props)
    websites/production/cxf/content/docs/using-openzipkin-brave.data/image2017-2-6-20:21:46.png
  (with props)
Modified:
    websites/production/cxf/content/cache/docs.pageCache
    websites/production/cxf/content/docs/using-openzipkin-brave.html

Modified: websites/production/cxf/content/cache/docs.pageCache
==============================================================================
Binary files - no diff available.

Added: websites/production/cxf/content/docs/using-openzipkin-brave.data/image2017-2-6-20:14:2.png
==============================================================================
Binary file - no diff available.

Propchange: websites/production/cxf/content/docs/using-openzipkin-brave.data/image2017-2-6-20:14:2.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: websites/production/cxf/content/docs/using-openzipkin-brave.data/image2017-2-6-20:16:19.png
==============================================================================
Binary file - no diff available.

Propchange: websites/production/cxf/content/docs/using-openzipkin-brave.data/image2017-2-6-20:16:19.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: websites/production/cxf/content/docs/using-openzipkin-brave.data/image2017-2-6-20:18:51.png
==============================================================================
Binary file - no diff available.

Propchange: websites/production/cxf/content/docs/using-openzipkin-brave.data/image2017-2-6-20:18:51.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: websites/production/cxf/content/docs/using-openzipkin-brave.data/image2017-2-6-20:21:46.png
==============================================================================
Binary file - no diff available.

Propchange: websites/production/cxf/content/docs/using-openzipkin-brave.data/image2017-2-6-20:21:46.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Modified: websites/production/cxf/content/docs/using-openzipkin-brave.html
==============================================================================
--- websites/production/cxf/content/docs/using-openzipkin-brave.html (original)
+++ websites/production/cxf/content/docs/using-openzipkin-brave.html Tue Feb  7 01:47:41 2017
@@ -117,11 +117,11 @@ Apache CXF -- Using OpenZipkin Brave
            <!-- Content -->
            <div class="wiki-content">
 <div id="ConfluenceContent"><p><style type="text/css">/*<![CDATA[*/
-div.rbtoc1486327618881 {padding: 0px;}
-div.rbtoc1486327618881 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1486327618881 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1486432026034 {padding: 0px;}
+div.rbtoc1486432026034 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1486432026034 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1486327618881">
+/*]]>*/</style></p><div class="toc-macro rbtoc1486432026034">
 <ul class="toc-indentation"><li><a shape="rect" href="#UsingOpenZipkinBrave-Overview">Overview</a></li><li><a
shape="rect" href="#UsingOpenZipkinBrave-DistributedTracinginApacheCXFusingOpenZipkinBrave">Distributed
Tracing in Apache CXF using OpenZipkin Brave</a></li><li><a shape="rect"
href="#UsingOpenZipkinBrave-configuringclientConfiguringClient">Configuring Client</a></li><li><a
shape="rect" href="#UsingOpenZipkinBrave-configuringserverConfiguringServer">Configuring
Server</a></li><li><a shape="rect" href="#UsingOpenZipkinBrave-DistributedTracingInAction:UsageScenarios">Distributed
Tracing In Action: Usage Scenarios</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#UsingOpenZipkinBrave-Example#1:ClientandServerwithdefaultdistributedtracingconfigured">Example
#1: Client and Server with default distributed tracing configured</a></li><li><a
shape="rect" href="#UsingOpenZipkinBrave-Example#2:ClientandServerwithnestedtrace">Example
#2: Client and Server with nested trace</a></li><li><a shape="rect" href="#UsingOpenZipkinBrave-Example#3:ClientandServertracewithannotations">Example
#3: Client and Server trace with annotations</a></li><li><a shape="rect"
href="#UsingOpenZipkinBrave-Example#4:ClientandServerwithbinaryannotations(key/value)">Example
#4: Client and Server with binary annotations (key/value)</a></li><li><a
shape="rect" href="#UsingOpenZipkinBrave-Example#5:ClientandServerwithparalleltrace(involvingthreadpools)">Example
#5: Client and Server with parallel trace (involving thread pools)</a></li><li><a
shape="rect" href="#UsingOpenZipkinBrave-Example#6:ClientandServerwithasynchronousJAX-
 RSservice(server-side)">Example #6: Client and Server with asynchronous JAX-RS service
(server-side)</a></li><li><a shape="rect" href="#UsingOpenZipkinBrave-Example#7:ClientandServerwithasynchronousinvocation(client-side)">Example
#7: Client and Server with asynchronous invocation (client-side)</a></li></ul>
 </li><li><a shape="rect" href="#UsingOpenZipkinBrave-DistributedTracingwithOpenZipkinBraveandJAX-WSsupport">Distributed
Tracing with OpenZipkin Brave and JAX-WS support</a></li><li><a shape="rect"
href="#UsingOpenZipkinBrave-Migratingfrombrave-cxf3">Migrating from brave-cxf3</a></li></ul>
@@ -230,7 +230,20 @@ public Collection&lt;Book&gt; getBooks()
     .request()
     .accept(MediaType.APPLICATION_JSON)
     .get();</pre>
-</div></div><p>The actual invocation of the request by the client (with
process name <strong>tracer-client</strong>) and consequent invocation of the
service on the server side (process name<strong> tracer-server</strong>) is going
to generate the following sample traces:</p><h2 id="UsingOpenZipkinBrave-Example#2:ClientandServerwithnestedtrace">Example
#2: Client and Server with nested trace</h2><h2 id="UsingOpenZipkinBrave-Example#3:ClientandServertracewithannotations">Example
#3: Client and Server trace with annotations</h2><h2 id="UsingOpenZipkinBrave-Example#4:ClientandServerwithbinaryannotations(key/value)">Example
#4: Client and Server with binary annotations (key/value)</h2><h2 id="UsingOpenZipkinBrave-Example#5:ClientandServerwithparalleltrace(involvingthreadpools)">Example
#5: Client and Server with parallel trace (involving thread pools)</h2><h2 id="UsingOpenZipkinBrave-Example#6:ClientandServerwithasynchronousJAX-RSservice(server-side)">Example
#6: Client and Server with 
 asynchronous JAX-RS service (server-side)</h2><h2 id="UsingOpenZipkinBrave-Example#7:ClientandServerwithasynchronousinvocation(client-side)">Example
#7: Client and Server with asynchronous invocation (client-side)</h2><h1 id="UsingOpenZipkinBrave-DistributedTracingwithOpenZipkinBraveandJAX-WSsupport">Distributed
Tracing with OpenZipkin Brave and JAX-WS support</h1><p>// TODO</p><h1
id="UsingOpenZipkinBrave-Migratingfrombrave-cxf3">Migrating from brave-cxf3</h1><p>//
TODO</p></div>
+</div></div><p>The actual invocation of the request by the client (with
process name <strong>tracer-client</strong>) and consequent invocation of the
service on the server side (process name<strong> tracer-server</strong>) is going
to generate the following sample traces:</p><p><span class="confluence-embedded-file-wrapper
confluence-embedded-manual-size"><img class="confluence-embedded-image" height="150"
src="using-openzipkin-brave.data/image2017-2-6%2020:16:19.png"></span></p><p>&#160;</p><p>Please
notice that client and server traces are collapsed under one trace with client send / receive,
and server send / receive demarcation as is seen in details<span class="confluence-embedded-file-wrapper
confluence-embedded-manual-size"><img class="confluence-embedded-image" height="400"
src="using-openzipkin-brave.data/image2017-2-6%2020:18:51.png"></span></p><h2
id="UsingOpenZipkinBrave-Example#2:ClientandServerwithnestedtrace">Example #2: Client and
Server with nested trace</h2><p>In th
 is example server-side implementation of the JAX-RS service is going to call an external
system (simulated as a simple delay of 500ms) within its own span. The client-side code stays
unchanged.</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
+<pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">@Produces(
{ MediaType.APPLICATION_JSON } )
+@GET
+public Collection&lt;Book&gt; getBooks(@Context final TracerContext tracer) throws
Exception {
+    try(final TraceScope scope = tracer.startSpan("Calling External System")) {
+        // Simulating a delay of 500ms required to call external system
+        Thread.sleep(500);
+           
+        return Arrays.asList(
+            new Book("Apache CXF Web Service Development", "Naveen Balani, Rajeev Hathi")
+        );
+    }
+}</pre>
+</div></div><p class="label label-default service-filter-label">The actual
invocation of the request by the client (with process name <strong><span class="label
label-default service-filter-label service-tag-filtered"><strong>tracer</strong>-client</span></strong>)
and consequent invocation of the service on the server side (process name<strong><span
class="label label-default service-filter-label"><strong>tracer-</strong>server</span></strong><span
class="label label-default service-filter-label">)</span> is going to generate the
following sample traces:</p><p class="label label-default service-filter-label"><span
class="confluence-embedded-file-wrapper confluence-embedded-manual-size"><img class="confluence-embedded-image"
width="900" src="using-openzipkin-brave.data/image2017-2-6%2020:21:46.png"></span></p><h2
id="UsingOpenZipkinBrave-Example#3:ClientandServertracewithannotations">Example #3: Client
and Server trace with annotations</h2><h2 id="UsingOpenZipkinBrave-Example#4:Clie
 ntandServerwithbinaryannotations(key/value)">Example #4: Client and Server with binary
annotations (key/value)</h2><h2 id="UsingOpenZipkinBrave-Example#5:ClientandServerwithparalleltrace(involvingthreadpools)">Example
#5: Client and Server with parallel trace (involving thread pools)</h2><h2 id="UsingOpenZipkinBrave-Example#6:ClientandServerwithasynchronousJAX-RSservice(server-side)">Example
#6: Client and Server with asynchronous JAX-RS service (server-side)</h2><h2 id="UsingOpenZipkinBrave-Example#7:ClientandServerwithasynchronousinvocation(client-side)">Example
#7: Client and Server with asynchronous invocation (client-side)</h2><h1 id="UsingOpenZipkinBrave-DistributedTracingwithOpenZipkinBraveandJAX-WSsupport">Distributed
Tracing with OpenZipkin Brave and JAX-WS support</h1><p>// TODO</p><h1
id="UsingOpenZipkinBrave-Migratingfrombrave-cxf3">Migrating from brave-cxf3</h1><p>//
TODO</p></div>
            </div>
            <!-- Content -->
          </td>



Mime
View raw message