Hi,
I am writing on the forum as github/issues is not the best place for discussion.
We have a question regarding https://github.com/openzipkin/zipkin/issues/2616.
It was said that removing a condition from line 70 (zipkin2.internal.DependencyLinker) is too dangerous and might existing application to blow up,
but maybe it is possible to make it configurable?
I mean if someone wants to have all dependencies visible including internal CLIENT -> CLIENT -> CLIENT calls,
he might have a chance to switch it on.
//line 70 zipkin2.internal.DependencyLinker
if (Kind.CLIENT.equals(kind) && !current.children().isEmpty()) {
continue;
}
What do you think about that?
We can contribute and make this change if you believe it makes sense.
Kind Regards
> To unsubscribe from this group and stop receiving emails from it, send an email to zipki...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to zipkin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/zipkin-user/5cb0226d-7202-4acd-bd3a-50f1874f17e7%40googlegroups.com.
// com.twitter.finagle.Client
/** * * @define label * * Argument `label` is used to assign a label to this client. * The label is used to display stats, etc. */trait Client[Req, Rep] {
/** $newService $label */ def newService(dest: Name, label: String): Service[Req, Rep]
/** $newService */ final def newService(dest: String): Service[Req, Rep] = { val (n, l) = Resolver.evalLabeled(dest) newService(n, l) }
/** $newService */ final def newService(dest: String, label: String): Service[Req, Rep] = newService(Resolver.eval(dest), label)
/* ......... */}
Tracing.newBuilder().supportsJoin(false) .localServiceName("your-local-service-name") .spanReporter(reporter).build();
Luckily fixing labels in finagle isn't that bad especially if you keep
your client configuration tidy.
// Ex. most commonly people set the label of the client to the
downstream, which finagle's tracer uses as the local service name
// Set "label" to the same as everything else in the process. Ex if
the process is named "frontend", do this.
Service<Request, Response> backendClient = Http.client()
.withTracer(tracer)
.withLabel("frontend") // this assigns the local service name
.newService("localhost:9000");
Meanwhile, upvote the following issue which we can use to fix bad data
before it gets to zipkin. Note: you would need to use recent finagle
if we implemented this:
https://github.com/openzipkin/zipkin-finagle/issues/67
> >> To view this discussion on the web visit https://groups.google.com/d/msgid/zipkin-user/5cb0226d-7202-4acd-bd3a-50f1874f17e7%40googlegroups.com.
> >> For more options, visit https://groups.google.com/d/optout.
> >
> > --
> >
> > ---
> > You received this message because you are subscribed to the Google Groups "zipkin-user" group.
> > To unsubscribe from this group and stop receiving emails from it, send an email to zipki...@googlegroups.com.