Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 04:14
    anoopdarshan edited #1330
  • 04:14
    anoopdarshan edited #1330
  • 04:13
    anoopdarshan opened #1330
  • 04:13
    anoopdarshan labeled #1330
  • 00:16
    rswst8 commented #3449
  • 00:16
    rswst8 commented #3449
  • 00:14
    rswst8 commented #3449
  • 00:10
    rswst8 synchronize #3449
  • 00:09
    rswst8 edited #3449
  • May 26 10:06
    Layfolk-zcy opened #3451
  • May 26 10:05
    Layfolk-zcy labeled #3451
  • May 26 05:29
    jcchavezs commented #3449
  • May 25 19:24
    jeqo closed #1320
  • May 25 19:24
    jeqo commented #1320
  • May 25 13:38
    MB-teamdevops commented #3430
  • May 25 11:41
    jcchavezs edited #3449
  • May 25 11:40
    jcchavezs commented #3449
  • May 23 14:33
    EnolMG labeled #3450
  • May 23 14:33
    EnolMG opened #3450
  • May 20 12:59
    pamposh123 commented #3448
Adrian Cole
@adriancole
that all said, yeah anything that doesn't require modifications to binaries is easier
Thierry Peng
@thpeng
Hi. Is there a way to secure the collector endpoint out-of-the-box in zipkin (e.g. basic auth, oauth ..)?
Adrian Cole
@adriancole
@thpeng if you are using kafka, sure it has some natively supported stuff, as does rabbitmq I think. http we didn't choose to bake in something as there are major issues with basic auth, credential rotation etc we didn't want to step into. Instead just use a proxy that has the features you need
you can call it mesh :)
Thierry Peng
@thpeng
@adriancole thanks. We're stuck with the rest endpoint because of private PaaS setup reasons. I thought about moving zipkin behind the spring-cloud-gateway, securing all non-GET endpoints (allowing the usage of the ui freely). As far as I have seen, the zipkin ui does not use other methods (upload excluded). But then we have also to modify the span reporter in sleuth (using a customized rest template).
Adrian Cole
@adriancole
good thing is that the ui and everything it needs is under /zipkin and only GET is needed
the upload is actually in-browser.. doesn't get to the server
so the POST thing is indeed collector-only (also under /api/v2/spans, not /zipkin) and that narrows the thing to pin
Thierry Peng
@thpeng
ok, thanks for the url hint. I will investigate further
Adrian Cole
@adriancole
and also because we chose to not proliferate BASIC, we also chose to leave open how to modify requests vs bake in basic which isn't actually supported on the backend by default
ex some SaaS offerings run zipkin clones and have different auth mecahnisms
good luck!
Jiten Vij
@jitenvij1992
I have configured brave for trace id and span id in spring web-mvc project. It is showing the server call but it is not showing the call which I am making from spring mvc project to spring boot project because of which trace id is different in spring MVC and spring boot. Please advise.
There should be two span for one trace Id.. one will refer to the server call and another to the client call
chris vale
@crispywalrus
If there’s anyone else here using zipkin-finagle I’ve got a PR open #78 to update Scala to 2.13. My maven foo isn’t strong enough to cross build between scala 2.12 and 2.13 so if you know how I’d love to hear about it. Otherwise I suppose I will have to publish both with differing (?) tags.
meustrus
@meustrus
:wave: I'm trying to set up Zipkin and am looking at storage options
which suggests my options are, Elasticsearch, X-Ray, Stackdriver, Logz.io, Scouter APM, Kafka, or Haystack.
But the default storage backend is MySQL, so I feel like I'm missing something. Architecture documentation suggests I should be able to use Cassandra as well: https://zipkin.io/pages/architecture.html#storage
So...is there somewhere I could find all the storage options and how to configure them?
Bas van Beek
@basvanbeek
https://github.com/openzipkin/zipkin#storage-component for default supported storage options.
chris vale
@crispywalrus
@here I’m going to release zipkin-finagle 2.1.5 for scala 2.12 unless someone objects
chris vale
@crispywalrus
Zipkin-finagle 2.1.5 is winging it’s way to maven central
meustrus
@meustrus
Thanks @basvanbeek! It's too bad that googling "zipkin storage backends" gives my first link instead of yours
eleven26tech
@eleven26tech
@adriancole .. m new to DistributedTracing. Able to use Brave and setup tracing between my services. Is there a way I can pass a custom header from frontend, which gets recorded in my spans as a tag without manually setting it in all services?
I'm able to propagate the header all the way to the backend service by .propagationFactory(ExtraFieldPropagation.newFactory(B3Propagation.FACTORY, "order-id")) in the config class. But was wondering how can I get this header as a tag in all my spans so that I can search by that in the UI
javabotnetflix
@javabotnetflix
@adriancole when am trying to build custom server by using 2.12.9 its giving error Factory method 'armeriaServer' threw exception; nested exception is java.lang.NullPointerException. can you fix that issue or guide me to what to do? am in a situation where i cant use readymade server.
@adriancole i found this https://github.com/openzipkin/zipkin/issues/2796#issuecomment-574810609. if i follow ui main page is not coming up getting 404
Adrian Cole
@adriancole
@javabotnetflix maybe you can mention what you need to do and then we can try to see if there's an alternative to a custom built server? we are pretty clear on no custom servers as they are expensive to support and fragile. plus we change libraries in the server whenever we need to
Omid Pourhadi
@omidp

Hi,

I am using zipkin-autoconfigure-storage-elasticsearch-http 2.8.4 with zipkin-server 2.10.0 I can not connect to remote elasticsearch server.

I set System.setProperty("ES_HOSTS", "http://IP:9200"); in my spring boot app.

The exception is :


 Failed to connect to localhost/0:0:0:0:0:0:0:1:9200
    at zipkin2.internal.Platform$Jre8.uncheckedIOException(Platform.java:71) ~[zipkin-2.11.7.jar:na]
    at zipkin2.elasticsearch.ElasticsearchStorage.ensureIndexTemplates(ElasticsearchStorage.java:306)

in ElasticsearchStorage.java Line 67 : host is hardcoded like this

hosts(Collections.singletonList("http://localhost:9200"))

how can I change that ?

Adrian Cole
@adriancole
@omidp please use the normal server download as we don't support custom servers https://github.com/openzipkin/zipkin#quick-start
it comes with elasticsearch client integrated with variables to control it https://github.com/openzipkin/zipkin/tree/master/zipkin-server#elasticsearch-storage
pnilesh1
@pnilesh1
Can i use javaagent with jipkin client. I have my existing application in which i cant add the new jars so i was looking if i can attach zipkin client with javaagent.
Adrian Cole
@adriancole
I cannot vouch for the quality of data etc, but this recently said it supports sending data to zipkin https://inspectit.github.io/inspectit-ocelot/docs/tracing/trace-exporters
eleven26tech
@eleven26tech
@adriancole .. m new to DistributedTracing. Able to use Brave and setup tracing between my services. Is there a way I can pass a custom header from frontend, which gets recorded in my spans as a tag without manually setting it in all services?
I'm able to propagate the header all the way to the backend service by .propagationFactory(ExtraFieldPropagation.newFactory(B3Propagation.FACTORY, "order-id")) in the config class. But was wondering how can I get this header as a tag in all my spans so that I can search by that in the UI
Adrian Cole
@adriancole
@eleven26tech if you are using brave directly, you can setup a FinishedSpanHandler to read that property and if present add it as a tag. If you are using spring-cloud-sleuth, they have a property to set to do the same via configuration
Csaba Kos
@csabakos
Hi @adriancole , thanks for the comments on openzipkin/zipkin#2438 . Came here to continue the discussion
Adrian Cole
@adriancole
hi!
yeah LS doesn't open source their brave integration AFAICT
but yeah it should be a fix in that
Csaba Kos
@csabakos
So the LightStep collectors provide a Zipkin-compatible ingress: https://docs.lightstep.com/docs/use-zipkin-with-lightstep
heh jinx!
so in there you see them talk about a FinishedSpanHandler
so the input to that is 2 args, trace context and a mutable span
the latter does nothing to interfere with case format
so instead of using their zipkin endpoint, use a FinishedSpanHandler that renders into their model
assuming they have it.. literally I have no idea
Csaba Kos
@csabakos
We are using their Zipkin endpoint, and I don't believe they have a FinishedSpanHandler that talks to their "native" endpoint
Adrian Cole
@adriancole
also ask them to open source that because it is easier to discuss when you can see the code heh