-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how do we idiomatically send cs, cr annotations #13
Comments
one idea is to make a generic filter which adds annotations within a span for a scoped operation..
ex. I could add do something like (forgive the quasi code)
In this case, the span above would include in normal case: ["cs", "ws", "wr", "cr"] This is the design finagle uses, and elaborated here |
I'm not totally sure what you're asking/suggesting here. I think there might be a few separate things: how (and whether) pyramid-zipkin logs (1) client spans, (2) error annotations, and (3) wire events. Re (1): this library actually has no support for logging client spans directly. The In the example using Re (2): we don't currently add error annotations to the span, but I don't think this would be hard to do at all. The Re (3): I didn't even know this was a standard annotation. |
I forgot about this ticket... I think with #14 this is done? You can now do We still don't have error annotations, but I think that can be added. I can make a separate ticket for that. |
separate ticket for error annotation probably makes sense. "error" is
gaining traction in various libraries, mostly because of the color red I
bet (but also because you can search for "error")
|
hey there. In making this, I noticed the resulting span for an outgoing request has only server annotations ("sr", "ss"). openzipkin/pyramid_zipkin-example#1
do you have ideas on making client instrumentation as an alternative to this pattern?
Ex some interceptor for requests that starts a span, logs "cs" in that span, makes the outgoing request, logs "cr" in the same span once received, potentially adding an error annotation on transit error.
The text was updated successfully, but these errors were encountered: