Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 14:11
    pamposh123 commented #3448
  • 09:51
    gkatzioura commented #200
  • 03:33
    rswst8 commented #3449
  • 03:29
    rswst8 commented #3442
  • 03:27
    rswst8 opened #3449
  • 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
  • May 16 03:31
    be-hase commented #1329
  • May 14 12:00
    jcchavezs commented #225
  • May 14 12:00

    jcchavezs on master

    Zipkin\\RealSpan::tag() must b… (compare)

  • May 14 12:00
    jcchavezs closed #225
  • May 13 14:36
    Tinywan opened #225
  • May 12 03:20
    be-hase labeled #1329
  • May 12 03:20
    be-hase opened #1329
xutao
@xutao42376347_twitter
image.png
10 replies
But this traceid has a value
There is no error reported in the background log
Tugay Ersoy
@Admiralkheir
guys is it possible to use zipkin-dependencies with kubernetes cronjob
Tugay Ersoy
@Admiralkheir
apiVersion: batch/v1beta1
kind: CronJob 
metadata:
  name:
    zipkin-dependencies-cronjob
  labels:
    app: zipkin-dependencies
spec:
  schedule: "00 20 * * *"
  concurrencyPolicy: Forbid
  jobTemplate:
    spec:
      template:
        spec:
          restartPolicy: Never
          containers:
          - name: zipkin-dependencies
            image: openzipkin/zipkin-dependencies 
            env:
              - name: STORAGE_TYPE
                value: "elasticsearch"
              - name: ES_HOSTS
                value: "value"
it worked if someone needs this.
teenaBuchade
@teenaBuchade
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
@arun0009
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
PARESH BHAVSAR
@pbhavsar9_twitter
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
DFazeli
@DFazeli

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

version: '3.8'
services:
  zipkin-sit:
     image: openzipkin/zipkin
     container_name: zipkin-sit
     hostname: zipkin-sit
     environment:
      - 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
     ports:
      - 9411:9411
     volumes:
      - /etc/localtime:/etc/localtime:ro
      - zipkin_ssl:/opt/
volumes:
    zipkin_ssl:
       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 /0.0.0.0:9411 - http://127.0.0.1:9411/
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
lmjlmj0259
@lmjlmj0259
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
ColumWalsh
@ColumWalsh
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
@harshmangal1108
hello everyone!
can anyone tell how can I use zipkin in Python applications?
3 replies
adityasirohi
@adityasirohi

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
@jonatan-ivanov

Hi,

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
yingziisme
@yingziisme
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
@arun0009

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

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
jjegosh
@jjegosh
Is there a way to filter by service on the dependency graph?
Arun Gopalpuri
@arun0009
@adriancole - is Tracing.currentTracer() thread-safe? I'm seeing tracing linking to previous requests in many cases in Zipkin
4 replies
Adrian Cole
@adriancole
Screen Shot 2020-12-23 at 2.21.21 PM.png
@jjegosh you mean besides this? ^^
jjegosh
@jjegosh
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
Filippo125
@Filippo125
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?
Thanks
Tugay Ersoy
@Admiralkheir
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
@basvanbeek
@Admiralkheir not sure I understand the problem. what are your trying to load balance?
Tugay Ersoy
@Admiralkheir
anyway we fixed the problem sir. it was about ingress controller config
salilsurendran
@salilsurendran
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
@onurccn
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
Halil Onur Çeçen
@onurccn

I also have another question about processing trace data for application monitoring. I have seen different backend support like skywalking on openzipkin page. Im also considering using elk stack for extracting useful monitoring data from traces. Are there any other suggestions for zipkin data processing and extracting monitoring data. (I'm still searching which tool to use for this and for best practices)

Im still new to tracing concepts and trying to learn how these should work. So, some of my questions might not makes sense. Sorry for those in advance

himanshuchawla009
@himanshuchawla009
Hi, can i use kafka-node library for tracing with node js. As documents says that zipkin js only supports kafka js library.
1 reply
Any way to use kafka-node library instead.
孙岩
@sawyer1379416087
image.png
image.png
image.png
I have a same question.anyone can help me?openzipkin/zipkin#2913
Karthik Kumar
@karkum
I had a question about a recent exception thrown by the Span class, can someone please provide more context about this? asked https://github.com/openzipkin/zipkin/pull/3249/files#r553047076 @adriancole
KONSTANTINOS TSAKOS
@ktsakos
Hi everyone! I have a microservice-based architecture and i would like to use Zipkins to trace messages from one service to another. I have a php implementation of my application's logic where i orchestrate the requests to the microservices. What i need to add in order to send data to Zipkins? Do i have to configure each microservice or should i use the Zipkin's php library in order to instrument my app?
1 reply
ankit modi
@ankitmorgan_twitter
image.png
Unable to view zipkin traces in UI
Trying with py flask

ZIPKIN_DSN = os.environ.get("ZIPKIN_DSN", "http://zipkin:9411/api/v2/spans")

def default_handler(encoded_span):
body = encoded_span
app.logger.debug("body %s", body)

return requests.post(
    ZIPKIN_DSN,
    data=body,
    headers={"Content-Type": "application/json"},
)
Any leads on how I should troubleshoot this? TIA