Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • May 23 14:33
    EnolMG labeled #3450
  • May 23 14:33
    EnolMG opened #3450
  • May 20 12:59
    pamposh123 commented #3448
  • May 19 07:44
    jcchavezs commented #3448
  • May 18 21:00
    rswst8 synchronize #3449
  • May 18 20:57
    rswst8 commented #3449
  • May 18 20:15
    jcchavezs commented #1320
  • May 18 14:11
    pamposh123 commented #3448
  • May 18 09:51
    gkatzioura commented #200
  • May 18 03:33
    rswst8 commented #3449
  • May 18 03:29
    rswst8 commented #3442
  • May 18 03:27
    rswst8 opened #3449
  • May 18 02:23
    rswst8 commented #3431
  • May 17 20:23
    jcchavezs commented #3448
  • May 17 17:49
    pamposh123 opened #3448
  • May 17 17:49
    pamposh123 labeled #3448
  • May 17 12:06
    adamsmith118 commented #1299
  • May 16 11:15
    jcchavezs commented #3447
  • May 16 09:33
    Layfolk-zcy labeled #3447
  • May 16 09:33
    Layfolk-zcy opened #3447
Bas van Beek
They are not in the scenario I described
Let’s say service a gets a request and based on it needs to call service b and service c
The incoming originating request is a missing server span and is also the root spa
The two outgoing calls to downstream services are two client spans both having the root span as their parent
Both client spans would connect to your existing server spans which are missing their upstream data at the moment
Ben Iofel
In my scenario, service A calls service B, which calls service C. I'm missing the spans from A, but I would have expected that C's parentId is a part of B. Instead I'm seeing B & C have different, unknown parentIds, so zipkin only renders B.
7 replies
@basvanbeek i use brave-instrument-grpc in pom,and this is my grpc configure.
Adrian Cole
thanks for helping with support @basvanbeek! I will be out again today, so appreciate your helping others
Arun Gopalpuri
Has anyone done event driven micro services system tracing? We have async services (http with kafka) so how does propagation work in this case?
17 replies
hi someone can help me with this problem with dependencies pods on zipkin?
Unable to load JDK7 types (java.nio.file.Path): no Java7 type support added
Exception in thread "main" java.io.IOException: Failed to open native connection to Cassandra at {cassandra:9042} :: Can't find class DropwizardMetricsFactory (specified by advanced.metrics.factory.class)
2 replies
This is empty. Do I have any configuration
This is empty. Do I have any configuration
10 replies
But this traceid has a value
There is no error reported in the background log
Tugay Ersoy
guys is it possible to use zipkin-dependencies with kubernetes cronjob
Tugay Ersoy
apiVersion: batch/v1beta1
kind: CronJob 
    app: zipkin-dependencies
  schedule: "00 20 * * *"
  concurrencyPolicy: Forbid
          restartPolicy: Never
          - name: zipkin-dependencies
            image: openzipkin/zipkin-dependencies 
              - name: STORAGE_TYPE
                value: "elasticsearch"
              - name: ES_HOSTS
                value: "value"
it worked if someone needs this.
Hi i am using zipkin zipkin-server-2.22.2-exec.jar jar to run zipkin server and using in-memory db , i am having problem creating dependency graph
Arun Gopalpuri
is there a way to set brave tracing globally? I see that open tracing util has a GlobalTracer (https://github.com/opentracing/opentracing-java/blob/master/opentracing-util/src/main/java/io/opentracing/util/GlobalTracer.java) but there’s no way to extract Tracing from this GlobalTracer?
3 replies
HI I have rabbitmq server running and trace data are sent to zipkin queue. How can I communicate rabbitmq username / password / host information to zipkin depoyment file? I would like to deploy zipkin on kubernetes
1 reply

Hi. I have problem with with zipkin docker with SSL elasticsearch.

version: '3.8'
     image: openzipkin/zipkin
     container_name: zipkin-sit
     hostname: zipkin-sit
      - KAFKA_BOOTSTRAP_SERVERS=x.x.x.x:9092
      - KAFKA_GROUP_ID=zipkin-sit
      - KAFKA_TOPIC=zipkin-sit
      - STORAGE_TYPE=elasticsearch
      - ES_HOSTS=https://x.x.x.x:9200
      - ES_USERNAME=zip
      - ES_PASSWORD=zipkinpassword
      - ES_INDEX=index-zipkin
      - ES_javax.net.ssl.trustStoreType=PKCS12
      - ES_javax.net.ssl.trustStore=/opt/elastic-certificates.p12
      - ES_javax.net.ssl.keyStore=/opt/elasticsearch.keystore
      - 9411:9411
      - /etc/localtime:/etc/localtime:ro
      - zipkin_ssl:/opt/
       name: zipkin_ssl

And ES config is:

xpack.security.enabled: true
xpack.security.transport.ssl.enabled: true
xpack.security.transport.ssl.verification_mode: certificate
xpack.security.transport.ssl.keystore.path: /etc/elasticsearch/elastic-certificates.p12
xpack.security.transport.ssl.truststore.path: /etc/elasticsearch/elastic-certificates.p12
xpack.security.http.ssl.enabled: true
xpack.security.http.ssl.keystore.path: "http.p12"

I have this Error:

zipkin-sit    | 2020-12-15 07:03:01.811  INFO [/] 1 --- [oss-http-*:9411] c.l.a.s.Server                           : Serving HTTP at / -
zipkin-sit    | 2020-12-15 07:03:37.537  WARN [/] 1 --- [cking-tasks-1-7] z.s.i.BodyIsExceptionMessage             : Unexpected error handling request.
zipkin-sit    |
zipkin-sit    | java.util.concurrent.RejectedExecutionException: General OpenSslEngine problem
zipkin-sit    |         at zipkin2.elasticsearch.internal.client.HttpCall.lambda$sendRequest$3(HttpCall.java:227) ~[zipkin-storage-elasticsearch-2.23.0.jar:?]
zipkin-sit    |         at java.util.concurrent.CompletableFuture.uniExceptionally(Unknown Source) ~[?:?]
zipkin-sit    |         at java.util.concurrent.CompletableFuture$UniExceptionally.tryFire(Unknown Source) ~[?:?]
zipkin-sit    |         at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:?]
zipkin-sit    |         at java.util.concurrent.CompletableFuture.completeExceptionally(Unknown Source) ~[?:?]
zipkin-sit    |         at com.linecorp.armeria.common.HttpMessageAggregator.fail(HttpMessageAggregator.java:140) ~[armeria-1.2.0.jar:?]
zipkin-sit    |         at com.linecorp.armeria.common.HttpMessageAggregator.onError(HttpMessageAggregator.java:56) ~[armeria-1.2.0.jar:?]
zipkin-sit    |         at com.linecorp.armeria.common.stream.FilteredStreamMessage$FilteringSubscriber.onError(FilteredStreamMessage.java:198) ~[armeria-1.2.0.jar:?]
zipkin-sit    |         at com.linecorp.armeria.common.stream.AbstractStreamMessage$CloseEvent.notifySubscriber(AbstractStreamMessage.java:280) ~[armeria-1.2.0.jar:?]
zipkin-sit    |         at com.linecorp.armeria.common.stream.DefaultStreamMessage.notifySubscriberOfCloseEvent0(DefaultStreamMessage.java:264) ~[armeria-1.2.0.jar:?]
zipkin-sit    |         at com.linecorp.armeria.common.stream.DefaultStreamMessage.notifySubscriberOfCloseEvent(DefaultStreamMessage.java:256) ~[armeria-1.2.0.jar:?]
zipkin-sit    |         at com.linecorp.armeria.common.stream.DefaultStreamMessage.handleCloseEvent(DefaultStreamMessage.java:436) ~[armeria-1.2.0.jar:?]
zipkin-sit    |         at com.linecorp.armeria.common.stream.DefaultStreamMessage.notifySubscriber0(DefaultStreamMessage.java:368) ~[armeria-1.2.0.jar:?]
zipkin-sit    |         at com.linecorp.armeria.common.RequestContext.lambda$makeContextAware$3(RequestContext.java:502) ~[armeria-1.2.0.jar:?]
zipkin-sit    |         at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) ~[netty-common-4.1.53.Final.jar:4.1.53.Final]
zipkin-sit    |         at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472) ~[netty-common-4.1.53.Final.jar:4.1.53.Final]
zipkin-sit    |         at io.netty.channel.epoll.EpollEv
2 replies
i'm trying to run zipkin 2.23.1 latest with elasticsearch 5.5.2 just started the server zipkin throws a exception "request [/_template/zipkin:span_template] contains unrecognized parameter: [include_type_name]",
How to make zipkin support elasticsearch 5?
1 reply
Can the zipkin executable jar be configured to log to a rolling log file? I was able to log to a log file with --logging.file.name=, but I can't get custom logback configuration working with -DLogback.configurationFile=. I'm trying with zipkin 2.23.1
6 replies
Harsh Mangal
hello everyone!
can anyone tell how can I use zipkin in Python applications?
3 replies

Hello, when building the openzipkin/zipkin image from docker file. I am getting below exception, where its not able to resolve the install.sh file.

MACC02VK4:$ docker build -t zipkin .
Sending build context to Docker daemon 12.8kB
Step 1/40 : ARG java_version=1.8.0_162
Step 2/40 : FROM scratch as scratch
Step 3/40 : COPY . /code/
---> f2d774e51150
Step 4/40 : FROM openzipkin/zipkin-builder as install
---> 2e36b15748e1
Step 5/40 : WORKDIR /install
---> Using cache
---> c3fb663edb11
Step 6/40 : COPY --from=scratch /code /code
---> b826633267cb
Step 7/40 : ARG release_version=master
---> Running in 80b1ecd13aaa
Removing intermediate container 80b1ecd13aaa
---> 5103ecf24ede
Step 8/40 : ENV RELEASE_VERSION=$release_version
---> Running in bbd43a0c4dd6
Removing intermediate container bbd43a0c4dd6
---> 3413d24ee766
Step 9/40 : COPY docker/bin/install.sh /tmp/

COPY failed: stat /var/lib/docker/tmp/docker-builder652222391/docker/bin/install.sh: no such file or directory

1 reply
Jonatan Ivanov


Does anyone know why does TraceIdContext:: toTraceIdString return a 16-digit value if the high bytes are all zero and a 32-digit value otherwise?

This seems very intentional but pretty weird, e.g.: if I have two IDs:

  • 0000000000000000123456789abcdef0
  • 0000000000000001123456789abcdef0
    (The only difference is in the high bites, the first is all the way zero, the second is one in the last place)

I will get:

  • 123456789abcdef0
  • 0000000000000001123456789abcdef0

Which is weird to me and also can lead issues if the user expects a fixed-length value from that method.

39 replies
String produceLinkLocalIp() {
try {
Enumeration<NetworkInterface> nics = NetworkInterface.getNetworkInterfaces();
while (nics.hasMoreElements()) {
NetworkInterface nic = nics.nextElement();
Enumeration<InetAddress> addresses = nic.getInetAddresses();
while (addresses.hasMoreElements()) {
InetAddress address = addresses.nextElement();
if (address.isSiteLocalAddress()) return address.getHostAddress();
} catch (Exception e) {
// don't crash the caller if there was a problem reading nics.
log("error reading nics", e);
return null;
why use this code to get ip ?sometimes our ip is not SiteLocalAddress
1 reply
Arun Gopalpuri

Trying to implement cassandra tracing using https://github.com/openzipkin/brave-cassandra/tree/master/cassandra#server. Readme says "The easiest way to get started is to place this project's "all" jar in cassandra's lib directory”

what’s “all" jar?

2 replies

Hello, is it normal for the first service (frontend) of an application to be left out by zipkin dependencies ?
i have 3 services running in kubernetes :
service1 exposed to the world, it calls service2, then service2 calls service 3

in the discover page, i see the 3 services calling each other, but in the dependency, i only see service2 and 3

zipkin-dependency debug log shows "20/12/22 10:04:35 DEBUG DependencyLinker: root's client is unknown; skipping" when parsing service1 trace,
does that ring something to someone ? am i missing something ?

9 replies
Is there a way to filter by service on the dependency graph?
Arun Gopalpuri
@adriancole - is Tracing.currentTracer() thread-safe? I'm seeing tracing linking to previous requests in many cases in Zipkin
4 replies
Adrian Cole
Screen Shot 2020-12-23 at 2.21.21 PM.png
@jjegosh you mean besides this? ^^
That helps. Also curious what the initial dependency page load looks like with over 1000 services and large fanouts, in case anyone has prior experience
2 replies
Hello, i have troubles to use zipkin and elasticsearch7.9. I have already search for a solution and try with https://github.com/tetratelabs/zipkin-es-templater, but it doesn't work. The log raise "z.s.i.BodyIsExceptionMessage : Unexpected error handling reqDec 23 08:35:47 eshost01 java[65500]: java.lang.NullPointerException: null"
5 replies
Have you got some advice?
Tugay Ersoy
hi guys, i have a question to access zipkin UI. İ have zipkin on my kubernetes cluster but I cant access it without port -forward
i try to do some load balance config but it does not work
is there any config or environment variable for zipkin URL access
Bas van Beek
@Admiralkheir not sure I understand the problem. what are your trying to load balance?
Tugay Ersoy
anyway we fixed the problem sir. it was about ingress controller config
I am trying to develop a system where one can log events and these events are connected together with a trace id. For eg. Consider there is an item that is processed by a number of different components(Lambdas, ECS, Spark etc.) in a distributed architecture but we need a centralized query able store where all components could send the information and then the user could see all the different components that acted on this item and what each component did. I was wondering if ZipKin is a good tool for this kind of use case?
1 reply
From what I understand Zipkin is a framework to trace HTTP requests across different systems and focuses on how much time was spent in each system. Here the use case is slightly different. The events would be separated by large amounts of time and also there would be some amount of metadata associated with each event. Can Zipking be used for a use case like this?
Halil Onur Çeçen
hi all, im currently trying to expand collected tracing data. Right now i'm getting http requests across servers and databases, but we are currently considering if we should trace method calls in our java application. Are there any documentation that i can find for best practices on method call tracing or do you have any suggestions on this subject? (which methods to trace etc..)
1 reply