Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 04:35
    Travis openzipkin/zipkin-js (master) fixed (1548)
  • 04:30

    anuraaga on master

    Fix zipkin-instrumentation-gotj… (compare)

  • 04:30
    anuraaga closed #523
  • Jan 24 00:14
  • Jan 24 00:10
    ohana54 opened #523
  • Jan 15 23:44
    sameerkhatri-sap labeled #193
  • Jan 15 23:44
    sameerkhatri-sap opened #193
  • Jan 14 09:51
    ktsakos commented #199
  • Jan 14 08:31
    ktsakos commented #199
  • Jan 14 08:31
    ktsakos commented #199
  • Jan 14 05:41
    petr-hybler commented #3342
  • Jan 14 05:41
    petr-hybler edited #3342
  • Jan 14 05:40
    petr-hybler edited #3342
  • Jan 14 05:40
    petr-hybler reopened #3342
  • Jan 14 05:40
    petr-hybler commented #3342
  • Jan 14 05:39
    petr-hybler commented #3342
  • Jan 14 04:31
    petr-hybler closed #3342
  • Jan 14 04:31
    petr-hybler commented #3342
  • Jan 14 02:48

    anuraaga on update-extensions

    (compare)

  • Jan 14 02:48

    anuraaga on master

    Update extensions (#164) * Upd… (compare)

Prasad CH
@prasad-1210_gitlab

ello Im having trouble getting spring cloud sleuth work with unirest. Can someone help please?

According to https://cloud.spring.io/spring-cloud-sleuth/reference/html/#synchronous-rest-template need to register Unirest as Bean so that sleuth can intercept request and inject trace info.

Any help on how to get this working?

1 reply
Simon Dean
@msmsimondean
Hi. I seem to be having trouble searching for tags in the UI of the latest version of Zipkin. No what tags I add to a search, the UI or Zipkin Server seems to ignore them and return all traces. I've tried reverting back to version 2.20.2 and it works fine in that version. I'm using Elasticsearch storage though I'm not sure that's related to the issue. I've tried debugging Zipkin Server and the tags don't get passed to the Elasticsearch storage implementation when performing a search
9 replies
Jorg Heymans
@jorgheymans
image.png
Fizii Q
@qfizii_gitlab

yow can I attach an extra baggage field to current span/scope? If I add baggage field like this:

Optional.ofNullable(BaggageField.getByName("some-header"))
        .ifPresent(field -> field.updateValue("some-value"));

then only downstream spans see the value. How can I make it so that current MDC has that value, and revert when current span/scope closes?

10 replies
Oskar Austegard
@oaustegard
Noob question - more of a WSL2 issue than a Zipkin issue admittedly, but perchance an opportunity to improve the documentation:
When attempting to run the self-contained executable jar via the two-liner on the website I end up with the following error (from the debug log):
curl -fL -o zipkin.jar https://repo1.maven.org/maven2/io/zipkin/zipkin-server/2.22.2/zipkin-server-2.22.2-exec.jar % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Failed to create the file zipkin.jar: Permission denied 0 56.8M 0 1362 0 0 35842 0 0:27:42 --:--:-- 0:27:42 35842 curl: (23) Failed writing body (0 != 1362)
Any suggestions as to what's needed to allow the download?
2 replies
Oskar Austegard
@oaustegard
Is there a "demo" json file anywhere that can be uploaded to a zipkin server to demo the UX?
2 replies
Oskar Austegard
@oaustegard
If I wanted to instrument a server-backed desktop Java application, RUM style, I presume I would still use brave? I would want to trace the desktop application itself, as well as requests made to the server (from there it becomes more vanilla server type instrumentation)
7 replies
sreesa7144
@sreesa7144

Hi, i'm having trouble in implementing the tracing service in ambassador-gateway with zipkin driver. I had configured the tracing service for ambassador as shown below

 apiVersion: getambassador.io/v1
kind: TracingService
metadata:
  name: tracing
spec:
  config:
    collector_endpoint: /api/v2/spans
  driver: zipkin
  service: jaeger-collector.jaeger:9411

I'm able to the see the traces in jaeger UI ,when i made some requests to the services under that gate way. This time i tried instrumenting the code in one of the services by setting the global tracer with following config:

    func initZipkinTracer(service string) {
    collectorService := os.Getenv("COLLECTOR_SERVICE")
    collectorEndPoint := os.Getenv("COLLECTOR_ENDPOINT")
    CollectorURL := "http://" + collectorService + "/" + collectorEndPoint
    loglib.Info("Traces collector URL", "jaeger-collector", CollectorURL)
    reporter := reporterhttp.NewReporter(CollectorURL)
    sampler, err := zipkin.NewCountingSampler(1)
    if err != nil {
        loglib.Fatal("Unable to initiate the zipkin tracer", "error", err)
    }
    localEndpoint := &model.Endpoint{ServiceName: service, Port: uint16(viper.GetInt32("grpc-port"))}
    t, err := zipkin.NewTracer(
        reporter,
        zipkin.WithSampler(sampler),
        zipkin.WithLocalEndpoint(localEndpoint),
    )
    if err != nil {
        loglib.Fatal("Unable to initiate the zipkin tracer", "error", err)
    }
    tracer := zipkinot.Wrap(t)
    opentracing.SetGlobalTracer(tracer)
}
while creating the server i enabled the tracing in the grpc middleware  using otgrpc module as follows:
server.UnaryServerInterceptors(
            otgrpc.OpenTracingServerInterceptor(opentracing.GlobalTracer(), otgrpc.LogPayloads()),
        )

When i made the requests to services which were under ambassador , i'm getting two separate traces one from the ambassador-gateway and the other from the service where we instrumented the code as specified above .Seems like the service is unable to get the info about ambassador tracer from the request context. The expectation is that i need get only one trace which got initiated at ambassador-api-gateway, and the tracing data generated in the service as child span . What are the changes i need to made to fix this issue?

José Carlos Chávez
@jcchavezs
Change sampler to never sample and see if zipkin is still creating a span. If not, it means zipkin isn't receiving the trace context from upstream.
sreesa7144
@sreesa7144
The service is not creating any spans, when i changed the sampler to never sample , but in the jaeger ui i can see the traces from ambassador api gateways as a separate service , don't know why my microservice is unable to receive trace context from upstream @jcchavezs
3 replies
José Carlos Chávez
@jcchavezs
What is your propagation format from ambassador?
Oskar Austegard
@oaustegard
I have a scenario in which I'd like to instrument an app running on a device not directly connected to the internet - rather there is a local network to a second device and it is connected. The second device should also be instrumented. Any advice as to how to best proceed?
Arun Gopalpuri
@arun0009
Can we use Brave with Open Telemetry? I have used https://github.com/openzipkin-contrib/brave-opentracing but do we have something similar to bridge with open telemetry? Is the difference only with the header formats B3 vs W3c?
19 replies
Marcin Grzejszczak
@marcingrzejszczak
In spring cloud sleuth I've added a w3c Propagation factory that works like the one in otel. You can check it out here https://github.com/spring-cloud/spring-cloud-sleuth/blob/master/spring-cloud-sleuth-brave/src/main/java/org/springframework/cloud/sleuth/brave/propagation/W3CPropagation.java
Adrian Cole
@adriancole
fyi I polished up the zipkin-api website as had to do maintenance anyway https://zipkin.io/zipkin-api/
José Carlos Chávez
@jcchavezs
looks great!
Adrian Cole
@adriancole
Screen Shot 2020-11-23 at 12.16.00 PM.png
@/all 8!!!!!
8 minutes to run all tests in zipkin including the storage integration tests
Screen Shot 2020-11-23 at 12.17.11 PM.png
not travis fault, but it last run before they cut us off ^^
not fault I mean I didn't optimize it into parallel stages
whoops wrong channel, so missing context here. sorry about the massive ping. I'm referring to our server build with GitHub actions and that's not important enough to ping all of you. :bow:
mug3n451
@mug3n451

i have installed the new version of zipkin-helm on my rke cluster, the pods became running but not ready. i have no error in the log just this in the describe:

Readiness probe failed: Get "http://10.42.9.114:9411/health": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
why the readiness failed even if i have no error in the log?

Thanks
Cristian

Adrian Cole
@adriancole
hi. not sure your networking setup, but you could decide to use the docker HEALTHCHECK instead
ex here's the definition from the image
# We use start period of 30s to avoid marking the container unhealthy on slow or contended CI hosts.
#
# If in production, you have a 30s startup, please report to https://gitter.im/openzipkin/zipkin
# including the values of the /health and /info endpoints as this would be unexpected.
HEALTHCHECK --interval=5s --start-period=30s --timeout=5s CMD ["docker-healthcheck"]
Halil Onur Çeçen
@onurccn

Hi all, just joined to the tracing world and already i have a question.
So we have just setup 2 zipkin servers with 5 node cassandra and 3 node kafka. We can receive/store traces without issues. But when i try to search traces with min or max duration parameter set, server gives

Caused by: com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /10.110.220.8:9042 (com.datastax.driver.core.exceptions.BusyPoolException: [/10.110.220.8:9042] Pool is busy (no available co
nnection and the queue has reached its max size 40960)), /10.110.220.9:9042 (com.datastax.driver.core.exceptions.BusyPoolException: [/10.110.220.9:9042] Pool is busy (no available connection and the queue has reached its max size 40960)), /10.110.220.6:9042 (com.datastax.
driver.core.exceptions.BusyPoolException: [/10.110.220.6:9042] Pool is busy (no available connection and the queue has reached its max size 40960)), /10.110.220.7:9042, /10.110.220.5:9042 [only showing errors of first 3 hosts, use getErrors() for more details])

errors. Im not sure where to look for debugging so i am open to suggestions.
Also we currently cant calculate dependencies because cron jobs not finishing before the next one starts. So this issue might be related to performance of our cassandra cluster.
cassandra: 3.11.8,
zipkin: 2.21
Thanks,

34 replies
Vikas Phonsa
@vikasphonsa
Newbie to tracing. When/Why would you need an opencensus exporter to send spans to zipkin ? looking at https://zipkin.io/pages/architecture.html, couldn't figure out what role an exporter plays. seems like traces can go directly to zipkin collector ?
2 replies
Adrian Cole
@adriancole
Marcin Grzejszczak
@marcingrzejszczak
hi! I can't find changelog / release notes for Brave - where can I find those?
2 replies
xuhao-xh
@xuhao-xh
image.png
image.png
i use this "STORAGE_TYPE=elasticsearch ES_HOSTS=xxxx ES_USERNAME=xxx ES_PASSWORD=xxxx java -jar zipkin-server-2.22.2-exec.jar --logging.level.zipkin2=INFO" to start my zipkin but i failed,why?please help me
image.png
1 reply
Adrian Cole
@adriancole
Scott Greenup
@scottgreenup

Hello everyone! :) I've just started instrumenting some services at work and hit a snag. I'm trying to work out what's best practice when creating a new span. The wording in https://zipkin.io/pages/instrumenting.html is a little ambiguous to me. Should I be creating a new span before I make a request (and send the new spanId with that request) or should the server receiving that request start a new span? I gather the choice is also up to me, but I'm wondering what the common pattern is.

Thanks in advance!

3 replies
Scott Greenup
@scottgreenup
Just a thought, is there a good resource to read about best practices around when to create new spans?
José Carlos Chávez
@jcchavezs
So in general if you add instrumentation to your libraries (e.g. http client, http server, etc) you don't need to create a span but they will be created for you.
Scott Greenup
@scottgreenup
That's the case for most of our stuff. Sadly we have one legacy library that isn't instrumented, so I'm having to wrap it.
I'm wondering if I pass the current span information along, or create a new one before sending it along.
But that's good advice in general :)
milind-techno
@milind-techno
Hello, Any recommendations for zipkin agents? I mean , agents which can sit alongside my application and send data to zipkin servers? Any specific recommendations please.
( Btw - I had a look at web and it seems skywalking agent is one , are there are alternatives especially from open-zipkin itself?
1 reply
Ucky.Kit
@uckyk
image.png
19 replies
i run zipkin-ui/Dockerfile in k8s,and how to deal with this error , its show me operate timeout .i dont know what happened...
Ucky.Kit
@uckyk
It is run by DockerFile in zipkin, without any modification, and the build is unsuccessful several times
image.png
if you are externally building with maven, then sharing with docker, you have to allow it