-
Notifications
You must be signed in to change notification settings - Fork 70
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
OpenTracing support #509
Comments
I'm not sure about the value of retry count - OpenTracing needs aggregate over spans anyhow, making a retry count optical visible. However, a consistent higher level operation name and an idempotency key to distinguish different requests could be a value. Riptide does not provide an operation name, does it? Anyhow, it should be easy to calculate a consistent operation name from the path template - something that is difficult from the HTTP client itself. |
See also https://github.bus.zalan.do/SRE/opentracing/issues/6.
I can imagine proving something for simplistic templates, but for more complex ones it might not be as easy to generate a consistent operation name. |
Interesting. Overlooked it. How do you correlate two spans that are |
Either by doing this:
or
|
Requires zalando/opentracing-toolbox#204 |
Instead of using an interceptor for Apache Http Client, maybe we can just register our new |
#450 would introduce a more fine-grained approach to error handling which might change which of those exceptions we treat as an error (error tag set to |
Detailed Description
Add OpenTracing integration that e.g. allows to add retry count as a tag to spans.
Context
Instrumenting the underlying Apache Http Client is a good enough solution for most, but a deeper integration allows for more sophisticated use cases (like retry count).
Possible Implementation
riptide-opentracing
moduleOpenTracingPlugin
OpenTracingRetryListener
which set's a retry count tagriptide-spring-boot-autoconfigure
Example Configuration
Your Environment
The text was updated successfully, but these errors were encountered: