Added some docs with examples

This commit is contained in:
Marcin Grzejszczak
2016-04-19 16:42:40 +02:00
parent b047d7a9bc
commit cf742d90da
3 changed files with 16 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

@@ -84,10 +84,19 @@ colorful labels. How does it happen that in Zipkin 10 spans are received?
So 1 span from *A*, 2 spans from *B*, 1 span from *C*, 2 spans from *D*, 1 span from *E*, 2 spans from *F* and 1 from *G*.
Altogether *10* spans.
.Click Pivotal Web Service icon to see it live!
[caption="Click Pivotal Web Service icon to see it live!"]
image:images/pws.png["Zipkin deployed on Pivotal Web Services", link="http://docssleuth-zipkin-server.cfapps.io/", height=100, width=100]
The dependency graph in Zipkin would look like this:
image::https://raw.githubusercontent.com/spring-cloud/spring-cloud-sleuth/master/docs/src/main/asciidoc/images/dependencies.png[Dependencies]
.Click Pivotal Web Service icon to see it live!
[caption="Click Pivotal Web Service icon to see it live!"]
image:images/pws.png["Zipkin deployed on Pivotal Web Services", link="http://docssleuth-zipkin-server.cfapps.io/dependency", height=100, width=100]
==== Log correlation
When grepping the logs of those four applications by trace id equal to e.g. `2485ec27856c56f4` one would get the following:

View File

@@ -504,3 +504,10 @@ subscribe events. To disable Spring Integration instrumentation, set `spring.sle
We're registering Zuul filters to propagate the tracing information (the request header is enriched with tracing data).
To disable Zuul support set the `spring.sleuth.zuul.enabled` property to `false`.
== Running examples
You can find the running examples deployed in the https://run.pivotal.io/[Pivotal Web Services]. Check them out in the following links:
- http://docssleuth-zipkin-server.cfapps.io/[Zipkin for apps presented in the samples to the top], its https://github.com/spring-cloud-samples/sleuth-documentation-apps[Github Code] and its build status image:https://build.spring.io/plugins/servlet/buildStatusImage/SCE2E-SCSDAOCF[Build Status, link=https://build.spring.io/browse/SCE2E-SCSDAOCF]
- http://docsbrewing-zipkin-web.cfapps.io/[Zipkin for Brewery on PWS], its https://github.com/spring-cloud-samples/brewery[Github Code] and its build status image:https://build.spring.io/plugins/servlet/buildStatusImage/SCE2E-SCSSE2ECFT[Build Status, link=https://build.spring.io/browse/SCE2E-SCSBFDOCF]