From 56bf7e3ce2f7922d934860b5fe25bbd4f5cdabd6 Mon Sep 17 00:00:00 2001 From: buildmaster Date: Wed, 11 Jan 2017 11:35:57 +0000 Subject: [PATCH] Sync docs from 1.1.x to gh-pages --- 1.1.x/index.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/1.1.x/index.html b/1.1.x/index.html index 0e5ddf56c..a37089665 100644 --- a/1.1.x/index.html +++ b/1.1.x/index.html @@ -472,6 +472,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
  • Example
  • Custom SA tag in Zipkin
  • Custom service name
  • +
  • Host locator
  • Span Data as Messages @@ -1991,6 +1992,24 @@ Remember not to add both peer.service tag and the SA t +
    +

    Host locator

    +
    +

    In order to define the host that is corresponding to a particular span we need to resolve the host name +and port. The default approach is to take it from server properties. If those for some reason are not set +then we’re trying to retrieve the host name from the network interfaces.

    +
    +
    +

    If you have the discovery client enabled and prefer to retrieve the host address from the registered +instance in a service registry then you have to set the property (it’s applicable for both HTTP and +Stream based span reporting).

    +
    +
    +
    +
    spring.zipkin.locator.discovery.enabled: true
    +
    +
    +