Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 15 17:12
    devinsba commented #3382
  • Oct 15 17:05
    jcchavezs commented #3382
  • Oct 15 13:12
    jorgheymans commented #3382
  • Oct 15 12:02
    coheigea commented #3382
  • Oct 15 11:51
    jcchavezs commented #3382
  • Oct 14 08:45
    coheigea opened #3382
  • Oct 13 12:44
    jcchavezs commented #1308
  • Oct 13 04:33
    zysaaa labeled #1308
  • Oct 13 04:33
    zysaaa opened #1308
  • Oct 12 16:24
    andylintner synchronize #1306
  • Oct 12 13:46
    jeqo commented #196
  • Oct 12 13:42

    jeqo on master

    chore(license): update headers (compare)

  • Oct 12 13:33

    llinder on master

    [maven-release-plugin] prepare … (compare)

  • Oct 12 13:33

    llinder on 2.6.4

    (compare)

  • Oct 12 13:33

    llinder on master

    [maven-release-plugin] prepare … (compare)

  • Oct 12 13:30

    llinder on release-2.6.4

    (compare)

  • Oct 12 13:30

    jeqo on release-2.6.4

    (compare)

  • Oct 12 13:24

    jeqo on master

    chore: test buildkit enabled as… (compare)

  • Oct 12 00:43
    llinder review_requested #3381
  • Oct 12 00:43
    llinder review_requested #3381
Yuriy Telnov
@TelnovYuri
Hi all,
Is it ok to collect traces without zipkin-server? We already have all infrastructure for gathering logs from our services. First logs are sent to kafka topic, then logstash get them ftom the topic and push into elastic. Can we gather traces the same way? Maybe you have some recommendations or advices about this architecture.
vineetalagh
@vineetalagh

Zipkin version: 2.23.2 , ES Version: AWS ES 7.9

I have setup zipkin to write spans to our AWS managed ES instance. But I am unable to search tags object in ES. They have been marked as unknown datatype and are not enabled in the template.

How can I resolve this?

The zipkin template is:

{
  "zipkin-span-2021-08-11" : {
    "aliases" : { },
    "mappings" : {
      "_source" : {
        "excludes" : [ "_q" ]
      },
      "dynamic_templates" : [ {
        "strings" : {
          "match" : "*",
          "match_mapping_type" : "string",
          "mapping" : {
            "ignore_above" : 256,
            "norms" : false,
            "type" : "keyword"
          }
        }
      } ],
      "properties" : {
        "_q" : {
          "type" : "keyword"
        },
        "annotations" : {
          "type" : "object",
          "enabled" : false
        },
        "duration" : {
          "type" : "long"
        },
        "id" : {
          "type" : "keyword",
          "ignore_above" : 256
        },
        "kind" : {
          "type" : "keyword",
          "ignore_above" : 256
        },
        "localEndpoint" : {
          "dynamic" : "false",
          "properties" : {
            "serviceName" : {
              "type" : "keyword"
            }
          }
        },
        "name" : {
          "type" : "keyword"
        },
        "parentId" : {
          "type" : "keyword",
          "ignore_above" : 256
        },
        "remoteEndpoint" : {
          "dynamic" : "false",
          "properties" : {
            "serviceName" : {
              "type" : "keyword"
            }
          }
        },
        "shared" : {
          "type" : "boolean"
        },
        "tags" : {
          "type" : "object",
          "enabled" : false
        },
        "timestamp" : {
          "type" : "long"
        },
        "timestamp_millis" : {
          "type" : "date",
          "format" : "epoch_millis"
        },
        "traceId" : {
          "type" : "keyword"
        }
      }
    },
    "settings" : {
      "index" : {
        "number_of_shards" : "5",
        "provided_name" : "zipkin-span-2021-08-11",
        "creation_date" : "1628640006251",
        "requests" : {
          "cache" : {
            "enable" : "true"
          }
        },
        "number_of_replicas" : "1",
        "uuid" : "-BYja4VdRb6PdKOd5nFxRg",
        "version" : {
          "created" : "7090199"
        }
      }
    }
  }
}
2 replies
王大涛
@wangdadatao
image.png
zipkin.ui.basepath not work
image.png
1 reply
image.png
Alfred Wang
@Alfred-kai
Hello everybody,I deploy a zipkin,How can i mock some data in it?
1 reply
Marcin Grzejszczak
@marcingrzejszczak
Hi! Who has the rights to release a new version of Brave now?
2 replies
Andriy Redko
@reta
@jcchavezs @jorgheymans you guys should have the rights?
Kedar
@kedarv
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
imsma
@imsma
Is there any guide/tutorial for macOS installation? like a homebrew formula?
totalys
@totalys
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
@anirudhbagri
Is there a way to talk to cassandra 3.0.25 using zipkin?
Alex McCool
@amccool
@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
Ruby
@ruby-singh
Is there a way mongodb can be used as storage for zipkin?
Alex McCool
@amccool
OK ------ either tagquery doesnt work in the UI.... or I dont understand it
1 reply
image.png
Andy Lintner
@andylintner
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
surangaherath
@surangaherath
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
@basvanbeek
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.
mstaalesen
@mstaalesen
@adriancole whats the status on Zipkin Grafana-dashboard?
simrin051
@simrin051

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.

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
4 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
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.

zipkin.png
grafana trace.png
prome.png