From e76be78512af480d08bfe62247c5296b2b6d1519 Mon Sep 17 00:00:00 2001 From: Marcin Grzejszczak Date: Fri, 21 Jul 2017 11:39:21 +0200 Subject: [PATCH] Updated Zipkin Properties with Javadocs --- .../cloud/sleuth/zipkin/ZipkinProperties.java | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/spring-cloud-sleuth-zipkin/src/main/java/org/springframework/cloud/sleuth/zipkin/ZipkinProperties.java b/spring-cloud-sleuth-zipkin/src/main/java/org/springframework/cloud/sleuth/zipkin/ZipkinProperties.java index df357fb94..4516a39ca 100644 --- a/spring-cloud-sleuth-zipkin/src/main/java/org/springframework/cloud/sleuth/zipkin/ZipkinProperties.java +++ b/spring-cloud-sleuth-zipkin/src/main/java/org/springframework/cloud/sleuth/zipkin/ZipkinProperties.java @@ -33,9 +33,21 @@ public class ZipkinProperties { * service discovery (e.g. http://zipkinserver/) */ private String baseUrl = "http://localhost:9411/"; + /** + * Enables sending spans to Zipkin + */ private boolean enabled = true; + /** + * Interval in seconds in which spans will be sent in batches to Zipkin + */ private int flushInterval = 1; + /** + * Encoding type of spans sent to Zipkin + */ private Encoding encoding = Encoding.JSON; + /** + * Configuration related to compressions of spans sent to Zipkin + */ private Compression compression = new Compression(); private Service service = new Service(); @@ -127,6 +139,11 @@ public class ZipkinProperties { } } + /** Configuration related to locating of the host name from service discovery. + * This property is NOT related to finding Zipkin via Service Disovery. + * To do so use the {@link ZipkinProperties#baseUrl} property with the + * service name set inside the URL. + */ public static class Locator { private Discovery discovery;