Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 17:50
    xeraa commented #3400
  • 12:17
    yzdann commented #3400
  • 07:39
    yzdann commented #3400
  • Dec 06 23:27
    xeraa commented #3400
  • Dec 06 19:09
    jcchavezs commented #3400
  • Dec 06 15:06
    yzdann labeled #3400
  • Dec 06 15:06
    yzdann opened #3400
  • Dec 06 12:20
    jonkerj opened #3399
  • Dec 06 10:43

    basvanbeek on master

    Update README.md (compare)

  • Dec 05 16:03
    vy8 commented #3367
  • Dec 05 16:01
    vy8 synchronize #3367
  • Dec 03 19:19
    jcchavezs commented #3398
  • Dec 03 14:19
    jcchavezs commented #3398
  • Dec 03 13:52
    jonkerj commented #3398
  • Dec 03 13:13
    jonkerj opened #3398
  • Dec 03 11:10
    jcchavezs commented #3374
  • Dec 03 11:10
    jcchavezs closed #3374
  • Dec 03 09:06
    jcchavezs closed #3368
  • Dec 03 09:05
    jcchavezs commented #3368
  • Dec 03 09:02
    jcchavezs commented #3367
simrin051
@simrin051
Can anybody please help
sreekanth
@SreekanthOM_twitter
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
metadata:
name: zipkin
labels:
app: zipkin
spec:

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

type: ClusterIP
ports:

  • name: server
    port: 9411
    targetPort: 9411

    nodePort: 30190 #Specify the Nodeport port

    protocol: TCP
    selector:
    app: zipkin

apiVersion: apps/v1
kind: Deployment
metadata:
name: zipkin
labels:
name: zipkin
spec:
replicas: 1
selector:
matchLabels:
app: zipkin
template:
metadata:
labels:
app: zipkin
spec:
containers:

  - name: zipkin
    image: openzipkin/zipkin:2.22
    ports:
    - containerPort: 9411
    env:
    - name: JAVA_OPTS
      value: "
              -Xms512m -Xmx512m
              -Dlogging.level.zipkin=DEBUG
              -Dlogging.level.zipkin2=DEBUG
              -Duser.timezone=Asia/Shanghai
              "
    - 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"     
    resources: 
      limits:
        cpu: 1000m
        memory: 512Mi
      requests:
        cpu: 500m
        memory: 256Mi
kbalakiran
@kbalakiran
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?
lukemao
@lukemao
Hello, are there any instrumentation libraries availble for tracing Hazelcast and Redis
5 replies
Colm O hEigeartaigh
@coheigea
Hi,
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
@chrisleves
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
Ratna
@nani2ratna_twitter

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
deepak21singh
@deepak21singh
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
spring.zipkin.service.name=PatientService
spring.zipkin.sender.type=web
spring.sleuth.enabled=true
spring.zipkin.enabled=true
spring.sleuth.sampler.probability=1.0
1301536601
@1301536601
Hi Does Zipkin support link tarcking to RabbitMQ if I'm use NetCore
HirokoMatsumoto-novade
@HirokoMatsumoto-novade

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)
https://github.com/openzipkin-attic/docker-zipkin#elasticsearch

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.

zipkin_collector_messages_total
zipkin_collector_bytes_total
zipkin_collector_spans_total
zipkin_collector_spans_dropped_total
zipkin_collector_messages_dropped_total

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
zipkin.png
grafana trace.png
prome.png
HirokoMatsumoto-novade
@HirokoMatsumoto-novade
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'
{"index_templates":[]}

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
@simondean

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
@jcchavezs
This is great @simondean
Begley Brothers (Development)
@bbros-dev

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 - http://127.0.0.1:9411/
Terminating due to java.lang.OutOfMemoryError: Java heap space

As best we can tell this might be (but we really aren't sure):
openzipkin/zipkin-dependencies#143
We appreciate any hints or tips.

1 reply
Hyounggyu Choi
@BbolroC
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
@devinsba
@BbolroC Thanks. I just took a look and merged it
22 replies
José Carlos Chávez
@jcchavezs
Are you using zipkin in k8s environments through helm charts? This is the time to give your 2p on this PR openzipkin/zipkin#3378
lukemao
@lukemao
Hi, How to configure zipkin to use a mysql database? Can i configure this at the java -jar command line ?
1 reply
Hyounggyu Choi
@BbolroC

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?

VardanyanS
@VardanyanS
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.
6.14.15
1 reply
lukemao
@lukemao
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
lukemao
@lukemao
We found the fix. STORAGE_TYPE etc should be set as a env variable not a java -jar param
2 replies
lukemao
@lukemao
Can zipkin send alert
2 replies
Ratna
@nani2ratna_twitter
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 ?
Normal spring boot applications are working fine except this migrated legacy application
any suggestions ?
Jonatan Ivanov
@jonatan-ivanov
This does not seem to be a Zipkin question, you can ask SLeuth-related questions here: https://gitter.im/spring-cloud/spring-cloud-sleuth
If you want to send data to ZIpkin you need to add spring-cloud-sleuth-zipkin, check the docs for a full example: https://docs.spring.io/spring-cloud-sleuth/docs/current/reference/htmlsingle/#how-to-set-up-sleuth-with-brave-zipkin-http
oojiact
@oojiact
jaeger-collector_1 | {"level":"warn","ts":1636027002.7438812,"caller":"handler/thrift_span_handler.go:138","msg":"Warning while converting zipkin to domain span","error":"cannot find service name in Zipkin span [traceID=af7183fb1d4cf5f2, spanID=352bff9a74ca9ad2]"}
jaeger-collector_1 | {"level":"debug","ts":1636027002.7439644,"caller":"handler/thrift_span_handler.go:130","msg":"Zipkin span batch processed by the collector.","span-count":1}
jaeger-collector_1 | {"level":"debug","ts":1636027002.7450535,"caller":"app/span_processor.go:152","msg":"Span written to the storage by the collector","trace-id":"0000000000000005af7183fb1d4cf5f2","span-id":"352bff9a74ca9ad2"}
i have issue zipkin plugin sent span to jaeger collector zipkin 9411/api/v2/spans
Simon Dean
@simondean:matrix.org
[m]
What’s up?
tuckeremulls
@tuckeremulls
Hello community I am having issues accessing the UI for a deployed zipkin on kubernetes through an ingress. For some reason, whenever I try to access the UI (from the path examplehostname/zipkin) I am receiving redirect errors (ERR_TO_MANY_REDIRECTS shown by browser). However, all of the other endpoints appear to be working fine and return the correct information when I curl them (examplehostname/zipkin/info, examplehostname/zipkin/health, etc...) and I have applications which can successfully send tracing data to examplehostname/zipkin/api/v2/spans. The UI is just inaccessible, was wondering if anyone can help?
    - kind: Deployment
    apiVersion: apps/v1
    metadata:
      name: zipkin
      namespace: zipkin
      labels:
        app: zipkin
    spec:
      replicas: 1
      selector:
        matchLabels:
          app: zipkin
      template:
        metadata:
          labels:
            app: zipkin
        spec:
          containers:
            - name: zipkin
              image: 'openzipkin/zipkin:latest'
              ports:
                - hostPort: 9411
                  containerPort: 9411
                  protocol: TCP
              env:
                - name: ES_HOSTS
                  valueFrom:
                    configMapKeyRef:
                      name: zipkin-config
                      key: es_hosts
                - name: STORAGE_TYPE
                  valueFrom:
                    configMapKeyRef:
                      name: zipkin-config
                      key: storage_type

    - kind: Service
    apiVersion: v1
    metadata:
      name: zipkin-service
      namespace: zipkin
    spec:
      ports:
        - protocol: TCP
          port: 80
          targetPort: 9411
          nodePort: 32733
      selector:
        app: zipkin
      type: NodePort

    - kind: Ingress
    apiVersion: extensions/v1beta1
    metadata:
      name: zipkin-ingress-config
      namespace: zipkin
      annotations:
        kubernetes.io/ingress.class: nginx
        nginx.ingress.kubernetes.io/rewrite-target: /$2
    spec:
      rules:
        - host: examplehostname
          http:
            paths:
              - path: /zipkin(/|$)(.*)
                pathType: ImplementationSpecific
                backend:
                  serviceName: zipkin-service
                  servicePort: 80
1 reply
Justas Tvarijonas
@JTvarijonas_twitter
Hello, I am trying to add brave to osgi application, but I am having errors saying "Could not start bundle io.zipkin.brave", is there any example for doing such thing?
2 replies
Hyounggyu Choi
@BbolroC
Could someone in the community review my PR (https://github.com/openzipkin/zipkin/pull/3384)? I have not received any comments or feedback for the past 15 days since I finalized it.
1 reply
Martin Tacit
@MartinTacit_twitter
Hi All can somebody hint me on how to manage span creation in micro-services with reactive nature when we don't have opportunity to control all the threads...Or if there any way you can aggregate all the spans ?
David Sullivan
@Le1632
Hey, anybody tried running Zipkin with OpenSearch (AWS' Elasticsearch "fork"). There seems to be an issue with the version number:
{
 "status" : "DOWN",
 "zipkin" : {
   "status" : "DOWN",
   "details" : {
     "ElasticsearchStorage{initialEndpoints=https://xyz.es.amazonaws.com, index=zipkin}" : {
       "status" : "DOWN",
       "details" : {
         "error" : "java.lang.IllegalArgumentException: Elasticsearch versions 5-7.x are supported, was: 1.0"
       }
     }
   }
 }
}
Andriy Redko
@reta
@Le1632 you should use the property in opensearch.yml: compatibility.override_main_response_version
Nitish Goyal
@nitishgoyal13
Hi, I am using Zipkin with cassandra as the backend. Everything has been working fine for months, but now we have started seeing this error frequently in logs
java.util.concurrent.CompletionException: com.datastax.oss.driver.api.core.NoNodeAvailableException: No node was available to execute the query
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:292) ~[?:1.8.0_242]
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:308) ~[?:1.8.0_242]
at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:607) ~[?:1.8.0_242]
at java.util.concurrent.CompletableFuture.uniApplyStage(CompletableFuture.java:628) ~[?:1.8.0_242]
at java.util.concurrent.CompletableFuture.thenApply(CompletableFuture.java:1996) ~[?:1.8.0_242]
at java.util.concurrent.CompletableFuture.thenApply(CompletableFuture.java:110) ~[?:1.8.0_242]
at zipkin2.storage.cassandra.internal.call.ResultSetFutureCall.doEnqueue(ResultSetFutureCall.java:91) ~[zipkin-storage-cassandra-2.23.3-8.jar!/:2.23.3-8]
Did anyone encounter this? If yes, what could be the possible reason
One possible reason of it happening is increase in load. But this error should settle when the load decrease during non peak hours. On the other hand, it's a continuous error and impacting our ingestion into cassandra
erachenko23
@erachenko23
image.png