Sync docs from master to gh-pages
This commit is contained in:
2
js/highlight/styles/dracula.min.css
vendored
2
js/highlight/styles/dracula.min.css
vendored
@@ -7,7 +7,7 @@ https://github.com/zenorocha/dracula-theme
|
||||
Copyright 2015, All rights reserved
|
||||
|
||||
Code licensed under the MIT license
|
||||
https://zenorocha.mit-license.org/
|
||||
http://zenorocha.mit-license.org
|
||||
|
||||
@author Éverton Ribeiro <nuxlli@gmail.com>
|
||||
@author Zeno Rocha <hi@zenorocha.com>
|
||||
|
||||
2
js/highlight/styles/monokai-sublime.min.css
vendored
2
js/highlight/styles/monokai-sublime.min.css
vendored
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
|
||||
Monokai Sublime style. Derived from Monokai by noformnocontent https://nn.mit-license.org/
|
||||
Monokai Sublime style. Derived from Monokai by noformnocontent http://nn.mit-license.org/
|
||||
|
||||
*/
|
||||
|
||||
|
||||
2
js/highlight/styles/monokai.min.css
vendored
2
js/highlight/styles/monokai.min.css
vendored
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Monokai style - ported by Luigi Maselli - https://grigio.org
|
||||
Monokai style - ported by Luigi Maselli - http://grigio.org
|
||||
*/
|
||||
|
||||
.hljs {
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
color: #ffffff;
|
||||
}
|
||||
</style>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/zepto/1.2.0/zepto.min.js"></script>
|
||||
<script src="http://cdnjs.cloudflare.com/ajax/libs/zepto/1.2.0/zepto.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
function addBlockSwitches() {
|
||||
$('.primary').each(function() {
|
||||
@@ -292,12 +292,12 @@ $(addBlockSwitches);
|
||||
<h2 id="_introduction"><a class="link" href="#_introduction">Introduction</a></h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>Spring Cloud Sleuth implements a distributed tracing solution for <a href="https://cloud.spring.io">Spring Cloud</a>.</p>
|
||||
<p>Spring Cloud Sleuth implements a distributed tracing solution for <a href="http://cloud.spring.io">Spring Cloud</a>.</p>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_terminology"><a class="link" href="#_terminology">Terminology</a></h3>
|
||||
<div class="paragraph">
|
||||
<p>Spring Cloud Sleuth borrows <a href="https://research.google.com/pubs/pub36356.html">Dapper’s</a> terminology.</p>
|
||||
<p>Spring Cloud Sleuth borrows <a href="http://research.google.com/pubs/pub36356.html">Dapper’s</a> terminology.</p>
|
||||
</div>
|
||||
<div class="paragraph">
|
||||
<p><strong>Span</strong>: The basic unit of work. For example, sending an RPC is a new span, as is sending a response to an RPC.
|
||||
@@ -501,12 +501,12 @@ However, if you want to use the legacy Sleuth approaches, you can set the <code>
|
||||
<h4 id="_live_examples"><a class="link" href="#_live_examples">Live examples</a></h4>
|
||||
<div class="imageblock">
|
||||
<div class="content">
|
||||
<a class="image" href="https://docssleuth-zipkin-server.cfapps.io/"><img src="https://raw.githubusercontent.com/spring-cloud/spring-cloud-sleuth/master/docs/src/main/asciidoc/images/pws.png" alt="Zipkin deployed on Pivotal Web Services" width="150" height="74"></a>
|
||||
<a class="image" href="http://docssleuth-zipkin-server.cfapps.io/"><img src="https://raw.githubusercontent.com/spring-cloud/spring-cloud-sleuth/master/docs/src/main/asciidoc/images/pws.png" alt="Zipkin deployed on Pivotal Web Services" width="150" height="74"></a>
|
||||
</div>
|
||||
<div class="title">Click the Pivotal Web Services icon to see it live!Click the Pivotal Web Services icon to see it live!</div>
|
||||
</div>
|
||||
<div class="paragraph">
|
||||
<p><a href="https://docssleuth-zipkin-server.cfapps.io/">Click here to see it live!</a></p>
|
||||
<p><a href="http://docssleuth-zipkin-server.cfapps.io/">Click here to see it live!</a></p>
|
||||
</div>
|
||||
<div class="paragraph">
|
||||
<p>The dependency graph in Zipkin should resemble the following image:</p>
|
||||
@@ -518,12 +518,12 @@ However, if you want to use the legacy Sleuth approaches, you can set the <code>
|
||||
</div>
|
||||
<div class="imageblock">
|
||||
<div class="content">
|
||||
<a class="image" href="https://docssleuth-zipkin-server.cfapps.io/dependency"><img src="https://raw.githubusercontent.com/spring-cloud/spring-cloud-sleuth/master/docs/src/main/asciidoc/images/pws.png" alt="Zipkin deployed on Pivotal Web Services" width="150" height="74"></a>
|
||||
<a class="image" href="http://docssleuth-zipkin-server.cfapps.io/dependency"><img src="https://raw.githubusercontent.com/spring-cloud/spring-cloud-sleuth/master/docs/src/main/asciidoc/images/pws.png" alt="Zipkin deployed on Pivotal Web Services" width="150" height="74"></a>
|
||||
</div>
|
||||
<div class="title">Click the Pivotal Web Services icon to see it live!Click the Pivotal Web Services icon to see it live!</div>
|
||||
</div>
|
||||
<div class="paragraph">
|
||||
<p><a href="https://docssleuth-zipkin-server.cfapps.io/dependency">Click here to see it live!</a></p>
|
||||
<p><a href="http://docssleuth-zipkin-server.cfapps.io/dependency">Click here to see it live!</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect3">
|
||||
@@ -543,7 +543,7 @@ service1.log:2016-02-26 11:15:48.182 INFO [service1,2485ec27856c56f4,2485ec2785
|
||||
</div>
|
||||
</div>
|
||||
<div class="paragraph">
|
||||
<p>If you use a log aggregating tool (such as <a href="https://www.elastic.co/products/kibana">Kibana</a>, <a href="https://www.splunk.com/">Splunk</a>, and others), you can order the events that took place.
|
||||
<p>If you use a log aggregating tool (such as <a href="https://www.elastic.co/products/kibana">Kibana</a>, <a href="http://www.splunk.com/">Splunk</a>, and others), you can order the events that took place.
|
||||
An example from Kibana would resemble the following image:</p>
|
||||
</div>
|
||||
<div class="imageblock">
|
||||
@@ -1271,7 +1271,7 @@ You can configure the location of the service by setting <code>spring.zipkin.bas
|
||||
<div class="ulist">
|
||||
<ul>
|
||||
<li>
|
||||
<p>Spring Cloud Sleuth is <a href="https://opentracing.io/">OpenTracing</a> compatible.</p>
|
||||
<p>Spring Cloud Sleuth is <a href="http://opentracing.io/">OpenTracing</a> compatible.</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -1510,7 +1510,7 @@ void userCode() {
|
||||
<i class="fa icon-tip" title="Tip"></i>
|
||||
</td>
|
||||
<td class="content">
|
||||
Check for <a href="https://github.com/openzipkin/brave/tree/master/instrumentation">instrumentation written here</a> and <a href="https://zipkin.io/pages/existing_instrumentations.html">Zipkin’s list</a> before rolling your own RPC instrumentation.
|
||||
Check for <a href="https://github.com/openzipkin/brave/tree/master/instrumentation">instrumentation written here</a> and <a href="http://zipkin.io/pages/existing_instrumentations.html">Zipkin’s list</a> before rolling your own RPC instrumentation.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -2781,7 +2781,7 @@ You can configure the URL by setting the <code>spring.zipkin.baseUrl</code> prop
|
||||
</div>
|
||||
<div class="listingblock">
|
||||
<div class="content">
|
||||
<pre class="highlightjs highlight"><code class="language-yaml hljs" data-lang="yaml">spring.zipkin.baseUrl: https://192.168.99.100:9411/</code></pre>
|
||||
<pre class="highlightjs highlight"><code class="language-yaml hljs" data-lang="yaml">spring.zipkin.baseUrl: http://192.168.99.100:9411/</code></pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="paragraph">
|
||||
@@ -2870,7 +2870,7 @@ In the Finchley release, it got removed.
|
||||
</table>
|
||||
</div>
|
||||
<div class="paragraph">
|
||||
<p>If for some reason you need to create the deprecated Stream Zipkin server, see the <a href="https://cloud.spring.io/spring-cloud-static/Dalston.SR4/multi/multi__span_data_as_messages.html#_zipkin_consumer">Dalston Documentation</a>.</p>
|
||||
<p>If for some reason you need to create the deprecated Stream Zipkin server, see the <a href="http://cloud.spring.io/spring-cloud-static/Dalston.SR4/multi/multi__span_data_as_messages.html#_zipkin_consumer">Dalston Documentation</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -2880,7 +2880,7 @@ In the Finchley release, it got removed.
|
||||
<div class="sect2">
|
||||
<h3 id="_opentracing"><a class="link" href="#_opentracing">OpenTracing</a></h3>
|
||||
<div class="paragraph">
|
||||
<p>Spring Cloud Sleuth is compatible with <a href="https://opentracing.io/">OpenTracing</a>.
|
||||
<p>Spring Cloud Sleuth is compatible with <a href="http://opentracing.io/">OpenTracing</a>.
|
||||
If you have OpenTracing on the classpath, we automatically register the OpenTracing <code>Tracer</code> bean.
|
||||
If you wish to disable this, set <code>spring.sleuth.opentracing.enabled</code> to <code>false</code></p>
|
||||
</div>
|
||||
@@ -3202,7 +3202,7 @@ If you create a <code>WebClient</code> instance with a <code>new</code> keyword,
|
||||
<div class="sect3">
|
||||
<h4 id="_traverson"><a class="link" href="#_traverson">Traverson</a></h4>
|
||||
<div class="paragraph">
|
||||
<p>If you use the <a href="https://docs.spring.io/spring-hateoas/docs/current/reference/html/#client.traverson">Traverson</a> library, you can inject a <code>RestTemplate</code> as a bean into your Traverson object.
|
||||
<p>If you use the <a href="http://docs.spring.io/spring-hateoas/docs/current/reference/html/#client.traverson">Traverson</a> library, you can inject a <code>RestTemplate</code> as a bean into your Traverson object.
|
||||
Since <code>RestTemplate</code> is already intercepted, you get full support for tracing in your client. The following pseudo code
|
||||
shows how to do that:</p>
|
||||
</div>
|
||||
@@ -3498,7 +3498,7 @@ to add the <code>@Role(BeanDefinition.ROLE_INFRASTRUCTURE)</code> on your
|
||||
<div class="sect3">
|
||||
<h4 id="_spring_integration_and_spring_cloud_stream"><a class="link" href="#_spring_integration_and_spring_cloud_stream">Spring Integration and Spring Cloud Stream</a></h4>
|
||||
<div class="paragraph">
|
||||
<p>Spring Cloud Sleuth integrates with <a href="https://projects.spring.io/spring-integration/">Spring Integration</a>.
|
||||
<p>Spring Cloud Sleuth integrates with <a href="http://projects.spring.io/spring-integration/">Spring Integration</a>.
|
||||
It creates spans for publish and subscribe events.
|
||||
To disable Spring Integration instrumentation, set <code>spring.sleuth.integration.enabled</code> to <code>false</code>.</p>
|
||||
</div>
|
||||
@@ -3597,11 +3597,11 @@ Check them out at the following links:</p>
|
||||
<div class="ulist">
|
||||
<ul>
|
||||
<li>
|
||||
<p><a href="https://docssleuth-zipkin-server.cfapps.io/">Zipkin for apps presented in the samples to the top</a>. First make
|
||||
a request to <a href="https://docssleuth-service1.cfapps.io/start">Service 1</a> and then check out the trace in Zipkin.</p>
|
||||
<p><a href="http://docssleuth-zipkin-server.cfapps.io/">Zipkin for apps presented in the samples to the top</a>. First make
|
||||
a request to <a href="http://docssleuth-service1.cfapps.io/start">Service 1</a> and then check out the trace in Zipkin.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><a href="https://docsbrewing-zipkin-server.cfapps.io/">Zipkin for Brewery on PWS</a>, its <a href="https://github.com/spring-cloud-samples/brewery">Github Code</a>.
|
||||
<p><a href="http://docsbrewing-zipkin-server.cfapps.io/">Zipkin for Brewery on PWS</a>, its <a href="https://github.com/spring-cloud-samples/brewery">Github Code</a>.
|
||||
Ensure that you’ve picked the lookback period of 7 days. If there are no traces, go to <a href="https://docsbrewing-presenting.cfapps.io/">Presenting application</a>
|
||||
and order some beers. Then check Zipkin for traces.</p>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user