Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • 14:33
    EnolMG labeled #3450
  • 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
Marcin Grzejszczak
Hi! Who has the rights to release a new version of Brave now?
2 replies
Andriy Redko
@jcchavezs @jorgheymans you guys should have the rights?
Hi, has anyone here used ZipkinJS with a web framework like Express and thread workers? My goal is to capture a trace from start (incoming req) to finish (worker task processed), when work is delegated to a node thread. My issue right now is that context is lost, since threads don't share variables and the context is not serializable. anyone have ideas/examples?
1 reply
Is there any guide/tutorial for macOS installation? like a homebrew formula?
Hi guys. Need to inject span context or something into my kafka messages (using sarama/golang) does this lib helps with this situation? I imagine something like: inject spanContext at kafka's message Header and extract it from the header in the other microservice. Thanks (in short, I need to follow the span along all the microservices that communicates using kafka).
2 replies
Anirudh Bagri
Is there a way to talk to cassandra 3.0.25 using zipkin?
Alex McCool
@pablochacin did you get your answer? Do you have alot of spans? I have a use case with several hundred smaller spans. Unless I give zipkin plenty of memory I dont get originating span
Is there a way mongodb can be used as storage for zipkin?
Alex McCool
OK ------ either tagquery doesnt work in the UI.... or I dont understand it
1 reply
Andy Lintner
I notice there's not a lot of activity on Brave. Is there anyone available to review openzipkin/brave#1306
This fixes openzipkin/brave#1295 and spring-cloud/spring-cloud-sleuth#1814
1 reply
Dear All, I'm getting following errors when I connect zipkin into elasticsearch 7.14.1 and 7.7.1

elasticsearch-7.12.1, elasticsearch-7.14.1
ERROR: cannot load service names: Request processing failed; nested exception is java.lang.IllegalStateException: response for update-template failed: {"error":{"root_cause":[{"type":"invalid_index_template_exception","reason":"index_template [zipkin:span_template] invalid, cause [Validation Failed: 1: index_pattern [zipkin:span-] must not contain a ':';]"}],"type":"invalid_index_template_exception","reason":"index_template [zipkin:span_template] invalid, cause [Validation Failed: 1: index_pattern [zipkin:span-] must not contain a ':';]"},"status":400}

elasticsearch-7.0.0, elasticsearch-7.7.1
ERROR: cannot load service names: Request processing failed; nested exception is java.lang.IllegalStateException: response for update-template failed: {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Setting index.mapper.dynamic was removed after version 6.0.0"}],"type":"illegal_argument_exception","reason":"Setting index.mapper.dynamic was removed after version 6.0.0"},"status":400}

any guidance would be appreciated
I' using zipkin 2.11.7
Bas van Beek
Please try to update to a later Zipkin version when using newer ES versions. ES tends to break its API’s often so you need to upgrade Zipkin too.
@adriancole whats the status on Zipkin Grafana-dashboard?

Hi Team

I am new to ZipKin. I installed the ZipKin server. When i tried to run these commands. java -jar zipkin. curl -SSL https://zipkin.io/quickstart.sh | bash -s
java -jar zipkin.jar i get unable to access jar file. I have installed java 8.Can you please advice.

Can anybody please help
Hi Team,
I am new to Zipkin, I have deployed zipkin pod in my k8s environment, I am getting traces from istio-ingressgateway but not from kafka. Getting below error in the logs
2021-09-15 16:35:52.476 %clr(DEBUG) %clr([/]){yellow} 1 --- [pool-2-thread-1] z.c.k.KafkaCollectorWorker : Kafka polling returned batch of 0 messages.
2021-09-15 16:35:53.478 %clr(DEBUG) %clr([/]){yellow} 1 --- [pool-2-thread-1] z.c.k.KafkaCollectorWorker : Kafka polling returned batch of 0 messages.
2021-09-15 16:35:54.480 %clr(DEBUG) %clr([/]){yellow} 1 --- [pool-2-thread-1] z.c.k.KafkaCollectorWorker : Kafka polling returned batch of 0 messages.
2021-09-15 16:35:55.481 %clr(DEBUG) %clr([/]){yellow} 1 --- [pool-2-thread-1] z.c.k.KafkaCollectorWorker : Kafka polling returned batch of 0

This is my zipkin manifest file
apiVersion: v1
kind: Service
name: zipkin
app: zipkin

type: NodePort #Specify as NodePort way to expose the exit

type: ClusterIP

  • name: server
    port: 9411
    targetPort: 9411

    nodePort: 30190 #Specify the Nodeport port

    protocol: TCP
    app: zipkin

apiVersion: apps/v1
kind: Deployment
name: zipkin
name: zipkin
replicas: 1
app: zipkin
app: zipkin

  - name: zipkin
    image: openzipkin/zipkin:2.22
    - containerPort: 9411
    - name: JAVA_OPTS
      value: "
              -Xms512m -Xmx512m
    - name: STORAGE_TYPE
      value: "elasticsearch" #Set the data to be stored in ES
    - name: ES_HOSTS        
      value: "elasticsearch-master:9200" #ES address
    - name: ES_INDEX #Set the zipkin index name stored in ES
      value: "zipkin"
    - name: ES_INDEX_REPLICAS #ES index copy number
      value: "1"
    - name: ES_INDEX_SHARDS #ES fragment number
      value: "3"
    - name: ES_USERNAME #If ES enables x-pack, you need to set a user name and password
      value: "elastic"
    - name: ES_PASSWORD
      value: "CXExcDB4qGvRBDzei2Bj"
    - name: KAFKA_BOOTSTRAP_SERVERS #Kafka address
      value: "kafka:9092"
    - name: KAFKA_TOPIC #Kafka Topic name, default is "zipkin"
      value: "zipkin"
    - name: KAFKA_GROUP_ID #Kafka group name, default is "zipkin"
      value: "zipkin"       
    - name: KAFKA_STREAMS #The number of threads that consume Topic, the default is 1
      value: "1"     
        cpu: 1000m
        memory: 512Mi
        cpu: 500m
        memory: 256Mi
Hi Guys, I need help in setting up Zipkin with Casandra or MySQL. So far I have tested with Zipkin docker. I could not find any proper documentation on setting up Zipkin with Casandra or MySQL. I have no Java knowledge to build Jar from the source. Is there any readily available Jar which can work with Casadra using some YML config file?
Hello, are there any instrumentation libraries availble for tracing Hazelcast and Redis
5 replies
Colm O hEigeartaigh
Is it intentional that the Spring Boot actuator endpoint exposes endpoints like /heapdump ? It allows any user to obtain a heapdump by calling "actuator/heapdump". The "env" endpoint is also exposed which might expose credentials.
14 replies
Christian Lévesque
hello trying to use spring boot sleuth which use zipkin to send to google cloud trace but I get a timeout because I'm premise, is there a way to see where it tries to connect ? is it something I can change ? thanks

Hi all, we are trying to use sleuth to send logs to zipkin. So I have added below dependencies implementation "org.springframework.cloud:spring-cloud-starter-zipkin" implementation "org.springframework.cloud:spring-cloud-starter-sleuth" implementation "org.springframework.cloud:spring-cloud-sleuth-zipkin"

And added below props in logback.xml
[%X{traceId} %X{spanId} %X{X-Span-Export}]

With the above changes in our 2 services, we were expecting zipkin will have some logs, but nothing appeared. So then we tried to add below properties in application.properties
spring.zipkin.base-url=http://localhost:9411 spring.zipkin.enabled=true spring.zipkin.service.name=rcp-command spring.sleuth.enabled=true spring.sleuth.integration.enabled=true spring.sleuth.sampler.rate=100 spring.sleuth.sampler.probability=1.0 spring.sleuth.sampler.percentage=1.0 spring.zipkin.sender.type=web

And still dont see logs / service name in zipkin.
Can you see what am I doing wrong here. Out apps have cloud-stream dependencies as well. And also noted that in logs I am getting X-span-export coming as false. For ex: [3e205e41db60212f 77a405a53d62c9fa false]

3 replies
Hi Team, I have implemented zipkin with sleuth and able to see the stats on Zipkin dashboard but unable to see the service name all stats coming under the default service
2 replies
Hi Does Zipkin support link tarcking to RabbitMQ if I'm use NetCore

Hi all, I'd like to ask about zipkin with grafana dashboard.
I installed zipkin with grafana using official docker-compose (but storage is elasticsearch. because when I use mysql, an access error happens. es doesn't happen)

By the way, I am using zipkin for collecting graphQL execution time with nodejs application. (using opentelemetry library such as HttpInstrumentation, ExpressInstrumentation and GraphQLInstrumentation)
And I'd like to show which graphQL queries are slow on some graphical chart.

I try to use prometheus metrics explorers below with the grafana dashboard.


But it looks like they can't filter any metrics tags on grafana dashboard ... (because in terms of above controller, we can only use 'instance, job, transport' labels)

Could we do that by prometheus metrics explorers? Or, for filtering by metrics, should we use data storage (such as elastic search, mysql, etc) on grafana dashboard?
Thank you so much.

4 replies
grafana trace.png
Screenshot 2021-10-20 at 10.39.52 AM.png
4 replies

Hi all, sorry for asking again.
I changed my strategy. Actually, zipkin + Grafana dashboard is not suitable for my requirements.
I switched to using elasticsearch storage with zipkin and I'd like to show Kibana Visualize(dashboard) for showing tracing information.

By the way, how is "tags" index enabled for the Visualize field?
As far as I know, we have two approaches. 1: query indexing 2: template index.
However, we can filter by tags ( https://github.com/openzipkin/zipkin/tree/master/zipkin-storage/elasticsearch#query-indexing ) but '_q' doesn't appear in the field.

And it looks like we can use the template index approach. (https://github.com/openzipkin/zipkin-support/issues/46#issuecomment-742872992)
I tried to fetch it. But I don't get any template index.

$ curl -s 'localhost:9200/_index_template'

My environment:
official docker compose yaml of zipkin
official docker compose yaml of elasticsearch7 (openzipkin/zipkin-elasticsearch7) (version 7.9.3)
oss Kibana image (docker.elastic.co/kibana/kibana-oss:7.9.3) (version 7.9.3)

Simon Dean

Hi. I’ve been working on an open source project called Kronicle that includes an integration with Zipkin. Here’s some info in case any is interested.

It combines dependency data from Zipkin with dependencies defined in YAML to render an interactive architecture diagram with filters: https://demo.kronicle.tech/all-components/dependencies

It uses Zipkin traces to render “call graphs”: https://demo.kronicle.tech/components/kronicle-service/call-graphs

It uses Zipkin traces to calculate response times: https://demo.kronicle.tech/components/kronicle-service/response-times

Kronicle uses Zipkin’s Get Traces API endpoint rather than Zipkin’s Get Dependencies API endpoint, as the data from the Get Traces endpoint is much richer.

There’s more info available on https://kronicle.tech

José Carlos Chávez
This is great @simondean
Begley Brothers (Development)

Context is single developer local desktop using containers. Right now we have OpenTelemetry data streaming to zipkin. Following the Zipkin quickstart we are here:

:: version 2.23.4 :: commit 3827477 ::2021-10-20 21:07:13.735  INFO [/] 1 --- [oss-http-*:9411] c.l.a.s.Server                           : Serving HTTP at /[0:0:0:0:0:0:0:0%0]:9411 -
Terminating due to java.lang.OutOfMemoryError: Java heap space

As best we can tell this might be (but we really aren't sure):
We appreciate any hints or tips.

1 reply
Hyounggyu Choi
Hi, everybody. Could someone tell me how I could push my PR to get reviewed by community? (openzipkin/docker-java#65) This is my very first PR and it has been 11 days since I opened it, but no feedback;;
Brian Devins-Suresh
@BbolroC Thanks. I just took a look and merged it
22 replies
José Carlos Chávez
Are you using zipkin in k8s environments through helm charts? This is the time to give your 2p on this PR openzipkin/zipkin#3378
Hi, How to configure zipkin to use a mysql database? Can i configure this at the java -jar command line ?
1 reply
Hyounggyu Choi

Hello, again. I got the following errors when I tried to build a local docker image (on an amd64 machine):

$ git clone https://github.com/openzipkin/zipkin.git
$ cd zipkin
$ ./build-bin/docker/docker_build openzipkin/zipkin:test
> [install 5/5] RUN /code/build-bin/maven/maven_build_or_unjar io.zipkin zipkin-server master exec &&     mv zipkin-server zipkin &&     /code/build-bin/maven/maven_build_or_unjar io.zipkin zipkin-server master slim &&     mv zipkin-server zipkin-slim:
#17 0.412 *** Building snapshot from source...
#17 43.30 [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.11.0:npm (npm lint) on project zipkin-lens: Failed to run task: 'npm run lint' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 254 (Exit value: 254) -> [Help 1]

Any ideas to solve this? There should be some prerequisites before running the command?

Hi, there, could someone advice - when I'm running npm -v in Windows I'm getting the following error: 'CALL "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" prefix -g' is not recognized as an internal or external command,
operable program or batch file.
1 reply
I tried to configure zipkin to connect to mysql: java -jar zipking..jar STORAGE_TYPE=mysql MYSQL_JDBC_URL=jsbc:mysql://mysql-server:3306/zipkin .... but i do not see any table created in the database zipkin I checked db connection is fine
We found the fix. STORAGE_TYPE etc should be set as a env variable not a java -jar param
2 replies
Can zipkin send alert
2 replies
hi, I have springboot application which was migrated from older spring web, so application-context.xml is still there
after adding dependencies and relevant properties, even though I can see spanId / traceId in logs, I dont see anything in zipkin. SHould I configure reporter beans manually ?