+diff --git a/images/dependencies.png b/images/dependencies.png new file mode 100644 index 000000000..d0eceb6fb Binary files /dev/null and b/images/dependencies.png differ diff --git a/spring-cloud-sleuth.html b/spring-cloud-sleuth.html index bcfde1cb9..567ae00e2 100644 --- a/spring-cloud-sleuth.html +++ b/spring-cloud-sleuth.html @@ -634,6 +634,14 @@ to Zipkin and merged there.
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.
+The dependency graph in Zipkin would look like this:
+
+static class CustomHttpServletRequestSpanExtractor implements SpanExtractor<HttpServletRequest> {
+static class CustomHttpServletRequestSpanExtractor
+ implements SpanExtractor<HttpServletRequest> {
@Override
public Span joinTrace(HttpServletRequest carrier) {
@@ -1301,7 +1310,8 @@ you have
static class CustomHttpServletResponseSpanInjector implements SpanInjector<HttpServletResponse> {
+static class CustomHttpServletResponseSpanInjector
+ implements SpanInjector<HttpServletResponse> {
@Override
public void inject(Span span, HttpServletResponse carrier) {
@@ -1368,10 +1378,8 @@ public class Consumer {
Spring Cloud Stream Binder (e.g. include
spring-cloud-starter-stream-rabbit for RabbitMQ, and similar
starters exist for Redis and Kafka). The app will also be a
-Zipkin query server, so you
-can point a standard Zipkin UI at it (e.g. run the consumer app on
-port 9411 if you want the query server on the same host and the
-default configuration).
+Zipkin server, which hosts
+the UI and api on port 9411.
The default SpanStore is in-memory (good for demos and getting
@@ -1690,7 +1698,7 @@ To disable Zuul support set the spring.sleuth.zuul.enabled property