Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 15:54

    jcchavezs on master

    chore(ci): tweaks coverage. (#1… (compare)

  • 15:54
    jcchavezs closed #193
  • 15:54
    jcchavezs edited #193
  • 14:45
    jcchavezs synchronize #193
  • 14:45

    jcchavezs on tweaks_coverage

    chore(ci): adds badge. (compare)

  • 14:42
    jcchavezs synchronize #193
  • 14:42

    jcchavezs on tweaks_coverage

    chore: adds reference on the re… (compare)

  • 14:36
    jcchavezs synchronize #193
  • 14:36

    jcchavezs on tweaks_coverage

    chore: ignore files that don't … (compare)

  • 14:30
    jcchavezs synchronize #193
  • 14:29

    jcchavezs on tweaks_coverage

    chore(ci): runs on PRs and merg… (compare)

  • 14:12
    jcchavezs synchronize #193
  • 14:12

    jcchavezs on tweaks_coverage

    chore: adds coveralls secret. (compare)

  • 12:53

    adriancole on master

    actually skip (compare)

  • 12:46

    adriancole on master

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

  • 12:46

    adriancole on 2.16.1

    (compare)

  • 12:46

    adriancole on master

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

  • 12:45

    adriancole on release-2.16.1

    (compare)

  • 12:45

    adriancole on release-2.16.1

    (compare)

  • 12:41

    adriancole on master

    also deploy BOM (compare)

Adrian Cole
@adriancole
unix style
ex. STORAGE_TYPE=elasticsearch java -jar...
azeemdin
@azeemdin
it is actually working with me, i am able to save data in elasticsearch, i was doing a very stupid mistake. In example timestamp was very old, i did't updated that. Just tried with new sample and it is working f9. Really sorry to disturb u for my stupid mistake
update sample
thanks for your concern and support
Adrian Cole
@adriancole
it isn't stupid mistake, it is just a problem with static data. don't know a better way with the swagger ui..
glad you found it though. fwiw this README shows other examples https://github.com/openzipkin/zipkin/tree/master/zipkin-lens/testdata
azeemdin
@azeemdin
sure, i will do that appreciate your time and support
Adrian Cole
@adriancole
:thumbsup: and good luck
Adrian Cole
@adriancole

@/all #Zipkin 2.22.1 starts publishing multi-architecture #Docker images, also to GitHub Container Registry.

Using ghcr.io avoids the new Docker Hub rate limits that apply today.

Ex:

docker run -d -p 9411:9411 ghcr.io/openzipkin/zipkin-slim

https://github.com/openzipkin/zipkin/releases/tag/2.22.1

Jorge Tovar
@jorgetovar_gitlab
hello guys. How do you secure your Zipkin instance in production?
3 replies
Varuna Lekamwasam
@varuna
hi i'm trying to run zipkin 2.22 latest with elasticsearch 5.5.2 just started the server, zipkin index is not created, ran an empty query, zipkin throws a exception "request [/_template/zipkin:span_template] contains unrecognized parameter: [include_type_name]". Is there a base elasticsearch version supported by zipkin latest?
5 replies
jackschaufele
@jschaufele
I am new to microservices and am working on my first project - I happened on to zipkin , jaeger etc as solution to pull together debugging information rather than having multiple viewports into each service - I realize zipkin is mainly used for tracing / timing etc - but is it used to pull together real-time "console logs" ? If I am going down the wrong path I would appreciate any direction on how best to look at multiple microservice consoles , thanks in advance
3 replies
Adrian Cole
@adriancole
french speaking folks.. if you want to see Zipkin in French, please click thumbsup on this openzipkin/zipkin#3289
Beniamin Kalinowski
@BeniaminK
Hi, I want to write an instrumentation for the Snowflake Data Cloud. Currently I'm checking whether I should use Brave or Wingtips for start. Any suggestions?
1 reply
xingwang.ma
@979163895
hi, I want build zipkin-server project,but build faild
image.png
Could you give me some advice
java version 1.8
zipkin version 2.22.3-SNAPSHOT
xingwang.ma
@979163895
image.png
34 replies
Varuna Lekamwasam
@varuna
i'm running zipkin-dependencies with a elasticsearch backend. thee ES backend is SSL protected, i tried setting ES_SSL_NO_VERIFY=true, didn't work. I tried setting a correct truststore with -Djavax.net.ssl.trustStore=truststore.jks VM args still nothing. How can we do this?
9 replies
Varuna Lekamwasam
@varuna
When using ES as the backend you need to make sure that ES configuration action.autocreate_index: "zipkin:*" to be included. in certain enterprise deployments of ES would block this auto index creation. if its blocked you need to use a mechanism to create indexes every day zipkin:span-2020-11-11 zipkin:dependencies-2020-11-11 like wise. the over head of manually injecting this very cumber some. I believe we need to add this to the documentation. One more thing on using ES back end, any idea on how long should we retain data for? can we add a configuration to remove old data say after 90days we'll flush old data?
17 replies
Mani R
@mrajah-twttr
are there any standard span tags open zipkin recommends . eg for indicating an error that is well understood by many tools to provide richer features?
21 replies
data_dream
@data_decode_twitter
what does zipkin mean by it stores data in-memory here https://zipkin.io/pages/extensions_choices.html
Do they have builtin in-memory database within their docker image or they write data within their file structure by in-memory ?
If no default built-in database, when is it recommended to use a database like MySQL / Cassandra / Elasticsearch ?
Thank you
6 replies
Mani R
@mrajah-twttr
is there a best practice around missing server side instrumentation? does ZIPkin or other related tools use any fields on client span to label the span's service name and not use the client service name?
19 replies
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: