Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Jorg Heymans
@jorgheymans
it allows you to drop spans.
Marcin Sodkiewicz
@SodaDev
Will check this one! Thanks :)
SerkanA
@SerkanAkkaya

Hello ,
We installed zipkin 2.21.7 and we use elasticsearch for zipkin storage_type. Elasticsearch host is https .
When we run zipkin there is an error.

com.linecorp.armeria.client.UnprocessedRequestException: javax.net.ssl.SSLHandshakeException: error:10000410:SSL routines:OPENSSL_internal:SSLV3_ALERT_HANDSHAKE_FAILURE
at com.linecorp.armeria.client.UnprocessedRequestException.of(UnprocessedRequestException.java:45) ~[armeria-0.99.9.jar!/:?]

Then we tried ES_NO_SSL_VERIFY=true on https://github.com/openzipkin/zipkin/tree/master/zipkin-server . but nothing changed. We run zipkin on windows machine and start zipkin via bat file.

SET STORAGE_TYPE=elasticsearch
SET ES_HOSTS=https://10.0.2.68:9200/
SET ES_USERNAME=elastic
SET ES_PASSWORD=elastic
SET ES_HTTP_LOGGING=BASIC
SET ES_SSL_NO_VERIFY=TRUE
java -jar zipkin.jar

Thanks for your helps..

Jorg Heymans
@jorgheymans
@SerkanAkkaya there's some config blurbs here openzipkin/zipkin#2774 that may be of use to you
SerkanA
@SerkanAkkaya
Thanks but I tried something from that link.but not worked. Why ES_SSL_NO_VERIFY not work. my main question is that. Do you have any idea.
1 reply
Jorg Heymans
@jorgheymans
probably because host verification is not the cause of the SSL error
Bas van Beek
@basvanbeek
that is after handshake
Jorg Heymans
@jorgheymans
add -Djavax.net.debug=ALL and dig in the TLS stacktrace ?
Allan Wang
@allantw

Hi, does anyone know what could cause this exception?
java.lang.IllegalStateException: subscribed by other subscriber already
at com.linecorp.armeria.common.stream.StreamMessageUtil.abortedOrLate(StreamMessageUtil.java:30) ~[armeria-1.1.0.jar!/:?]
at com.linecorp.armeria.common.stream.AbstractStreamMessage.failLateSubscriber(AbstractStreamMessage.java:119) ~[armeria-1.1.0.jar!/:?]
at com.linecorp.armeria.common.stream.AbstractStreamMessage.subscribe(AbstractStreamMessage.java:76) ~[armeria-1.1.0.jar!/:?]
at com.linecorp.armeria.common.stream.AbstractStreamMessage.subscribe(AbstractStreamMessage.java:64) ~[armeria-1.1.0.jar!/:?]
at com.linecorp.armeria.common.HttpRequest.aggregateWithPooledObjects(HttpRequest.java:434) ~[armeria-1.1.0.jar!/:?]
at zipkin2.server.internal.ZipkinHttpCollector.validateAndStoreSpans(ZipkinHttpCollector.java:109) ~[classes!/:?]
at zipkin2.server.internal.ZipkinHttpCollector.uploadSpansJson(ZipkinHttpCollector.java:75) ~[classes!/:?]

It starts coming up within 20 minutes of starting. I'm encountering this with multiple storage (elasticsearch7.9.2, in memory, mysql), and with zipkin release 2.21 and running from source

10 replies
Jorge Tovar
@jorgetovar_gitlab
hello, is there an easy way to enable authentication to Zipkin UI
4 replies
Currently its exposed over VPN but we need to validate specific users
Arun Gopalpuri
@arun0009
is there a way to copy Zipkin headers from request and copy it to new request headers for instrumentation?
10 replies
77_Bala_77
@Ba777
I have enabled the dependency page in the UI using config.json. But, Zipkin doesn't show any dependency graph. I am all the data in elastic search DB and zipkin is connected to it. Thoughts?
15 replies
Pushpa79
@Pushpa79
Hello @guys, Still iam not able to trace the applications in K8s , can any one help me on this , do i need to change anything in k8s part
3 replies
amitzbb
@amitzbb
Hey guys I am using Kubernetes, Ambassador and I just installed Zipkin, I am trying to use elasticsearch as the storage component of Zipkin (if I am using in-memory I can see tracing ) but it looks like nothing happens I don't see a new index created and of course nothing in the zipkin dashboard
amitzbb
@amitzbb
env:
        - name: STORAGE_TYPE
          value: elasticsearch
        - name: ES_HOSTS
          value: http://elasticsearch-master-headless:9200"
Bas van Beek
@basvanbeek
If using ES with its operator it defaults to https. In that case it also uses self signed certs so address that too.
amitzbb
@amitzbb
thanks for the response @basvanbeek , but I am not using the elastic operator, my elastic is running with HTTP. i can reach elastic from toolbox container running on the same namespace.
curl: (6) Could not resolve host: elastic-master-headless
root@toolbox-6d4dcc8778-kkn5n:/# curl http://elasticsearch-master-headless:9200
{
"name" : "elasticsearch-master-0",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "6Jhjdj57SwiBqygkAzApmQ",
"version" : {
"number" : "7.2.0",
"build_flavor" : "default",
"build_type" : "docker",
"build_hash" : "508c38a",
"build_date" : "2019-06-20T15:54:18.811730Z",
"build_snapshot" : false,
"lucene_version" : "8.0.0",
"minimum_wire_compatibility_version" : "6.8.0",
"minimum_index_compatibility_version" : "6.0.0-beta1"
},
"tagline" : "You Know, for Search"
}
Ruben Gamez
@rgamez
Hi, I want to contribute a small fix to how p6spy parses the remoteName override via thezipkinServiceName jdbc url parameter, the current implementation only supports characters in the word character group ( [A-Za-z_]) defined in the TracingJdbcEventListener regex, in my projects I use kebab case and currently only captures the first word before the dash, my proposal is change the regex to make the capture group more generic, capturing everything until the next & (or the end of the string) or at least include - dash that I think is common naming convention, would you be happy to consider a PR with this change?
1 reply
Dimitrios Klimis
@dimi-nk

Hey fellas. I’m using spring sleuth and I’m trying to enable the grpcPropagation format. As per documentation, you need to create a GrpcTracing class with grpcPropagationFormatEnabled(true). I tried doing the following

  @Bean
  public GrpcTracing getGrpcTracing(RpcTracing rpcTracing) {
    return GrpcTracing.newBuilder(rpcTracing).grpcPropagationFormatEnabled(true).build();
  }

but the B3 propagation is used anyway. Any ideas?

30 replies
Arun Gopalpuri
@arun0009
how can I inject b3 headers from span to request? (using brave, brave-opentracing) Is there any util in brave?
8 replies
amitzbb
@amitzbb
I managed to connect Zipkin to elasticsearch , and I see the index but I can't update the index pattern with the custom Zipkin fields which starts with a tag like tags.http.status_code
4 replies
Jaya chandra
@jchandra49_gitlab
Hi, I have deployed 2 applications and zipkin in a k8s cluster, made the changes accordingly in both the applications for zipkin. However in the zipkin UI, the applications are not showing up, can anyone help me on this
7 replies
Potpot
@pot-code
Hi everyone, is it good to use Zipkin in single machine app?I want to use it soly for error tracking, like logging everything with trace ID :)
Jorg Heymans
@jorgheymans
@pot-code Sure that'll work. Most of your traces may be in-process https://github.com/openzipkin/brave/tree/master/brave#in-process-tracing and a few remote spans but that doesn't mean zipkin and brave instrumentation cannot be useful. Let us know how you get along !
Dimitrios Klimis
@dimi-nk
Do you know if there's a way to instrument java's java.net.http.HttpClient? I can't find a mechanism like interceptor/filter/etc. Is manual external instrumentation the only option in this case?
1 reply
Adrian Cole
@adriancole
sometimes the timestamp question comes up, so figured I'd summarize it here openzipkin/zipkin-api#89
elephant-stone
@elephant-stone
Hi everyone! Probably stupid question, but anyway. Should be address of Zipkin instance specified in application properties (spring.zipkin.baseUrl property) in case of using Kafka for sending traces data?
Jorg Heymans
@jorgheymans
@elephant-stone that's more of a spring-cloud-sleuth question, they have their own dedicated channel here https://gitter.im/spring-cloud/spring-cloud-sleuth
1 reply
J
@bastiat
Hello. If zipkin server is down when client application starts and client application fails to connect by http to zipkin server, will client try to reconnect after some time? Is it configurable? It seems to me, that now I can see some stacktrace in logs on application start, and even if later server is available client doesn't log to it (when server is available on client start, logs do appear correctly).
Jorg Heymans
@jorgheymans
@bastiat indeed it will reconnect automatically, there is no need to configure this. The spans that it was unable to send because of zipkin server downtime will be dropped.
lj-279
@lj-279
I'm very interested in zipkin,but Our project use rabbitmq syn and asyn.How to trace MQ and asyn call using zipkin?Thank you very much!
1 reply
Arun Gopalpuri
@arun0009
Can we replace B3 format headers with W3C format in Zipkin? (I'm using zipkin-go and brave libraries)
2 replies
Marcin Grzejszczak
@marcingrzejszczak
hi! since Spring Cloud Sleuth uses Brave you might want to check out this PR spring-cloud/spring-cloud-sleuth#1757 (I know that it's gigantic so in case of any questions don't hesitate to ping me).
Adrian Cole
@adriancole
@/all I rarely ping the whole channel, but as so many ask us for support on sleuth, those interested should probably read ^^ and comment back on the issue or on sleuth's channel https://gitter.im/spring-cloud/spring-cloud-sleuth
Dimitrios Klimis
@dimi-nk

Hi. I made a similar question a few weeks regarding support of grpc-trace-bin and X-Cloud-Trace-Context. Just for context my company currently uses a) an internal Java framework for services b) OpenCensus APIs directly and c) and some internal custom tracing wrappers while my team uses Spring Boot and Sleuth/Brave. I've opened a discussion inside my company to adopt more standard propagation headers like B3. In the meantime, my team needs to support grpc-trace-bin and X-Cloud-Trace-Context.

I've been looking through brave's code to understand what would be the most efficient way to support these propagation formats without re-writing the world. One option would be to write new gRPC interceptors and HTTP filters but this option misses no lots of code already provided by Brave. If I understand the framework correctly, I should write a Propagation similar to B3Propagation which would extract the headers. I should then provide my propagation in the form of a FactoryBuilder bean to replace the default B3 bean. This will eventually make it to TracingServerInterceptor via RpcServerHandler. Is my assumption correct? If yes, any pointers to avoid mistakes? Is there an easier way to use the aforementioned propagation headers?

25 replies
Adrian Cole
@adriancole
screenshot on https://zipkin.io/ updated thx @jorgheymans
Adrian Cole
@adriancole
biggest release of the year and also why folks have been so busy. read all about it https://twitter.com/zipkinproject/status/1320676019951448064 https://github.com/openzipkin/zipkin/releases/tag/2.22.0
Jorg Heymans
@jorgheymans

biggest release of the year and also why folks have been so busy. read all about it https://twitter.com/zipkinproject/status/1320676019951448064 https://github.com/openzipkin/zipkin/releases/tag/2.22.0

Congratulations on getting this one out of the door @adriancole !! :fireworks: :fireworks: :fireworks:

adriancole @adriancole says you are welcome
krz1997
@krz1997
Hi,gays. Does anyone know how Zipkin defines a custom object type ?
@adriancole
I thought of customizing the TAG type to be NESTED rather than object
Adrian Cole
@adriancole
you will run into problems with dotted tags, which is why we can't use that approach
krz1997
@krz1997
thanks , i will research that.
According to your suggestion, I use ES to store data, which way should I take is more scientific
3 replies
XiaoChuangGitHub
@XiaoChuangGitHub
What do I need to do if I want to use RocketMQ and PostgresQL?Is there an example?
13 replies